home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 57131 / 57131.xpi / chrome / beefree.jar
PKZip Archive  |  2010-01-25  |  122.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: PKZip Archive (archive/zip).

You can browse this item here: beefree.jar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.0 UNIX, extract using at least v1.0, last modified, last modified Sun, Jan 25 2010 14:37:12, uncompressed size 0, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
100% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,36 files,8 dirs] default
100% binwalkID Zip archive data, at least v1.0 to extract, name: content/ default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 03 00 00 | 00 00 a6 74 39 3c 00 00 |PK......|...t9<..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 08 00 00 00 63 6f |........|......co|
|00000020| 6e 74 65 6e 74 2f 50 4b | 03 04 0a 03 00 00 00 00 |ntent/PK|........|
|00000030| a6 74 39 3c 00 00 00 00 | 00 00 00 00 00 00 00 00 |.t9<....|........|
|00000040| 10 00 00 00 63 6f 6e 74 | 65 6e 74 2f 62 65 65 66 |....cont|ent/beef|
|00000050| 72 65 65 2f 50 4b 03 04 | 0a 03 00 00 00 00 a6 74 |ree/PK..|.......t|
|00000060| 39 3c 6a b3 59 4c e1 07 | 00 00 e1 07 00 00 19 00 |9<j.YL..|........|
|00000070| 00 00 63 6f 6e 74 65 6e | 74 2f 62 65 65 66 72 65 |..conten|t/beefre|
|00000080| 65 2f 61 62 6f 75 74 2e | 78 75 6c 3c 3f 78 6d 6c |e/about.|xul<?xml|
|00000090| 20 76 65 72 73 69 6f 6e | 3d 22 31 2e 30 22 20 65 | version|="1.0" e|
|000000a0| 6e 63 6f 64 69 6e 67 3d | 22 55 54 46 2d 38 22 3f |ncoding=|"UTF-8"?|
|000000b0| 3e 0d 0a 3c 3f 78 6d 6c | 2d 73 74 79 6c 65 73 68 |>..<?xml|-stylesh|
|000000c0| 65 65 74 20 68 72 65 66 | 3d 22 63 68 72 6f 6d 65 |eet href|="chrome|
|000000d0| 3a 2f 2f 67 6c 6f 62 61 | 6c 2f 73 6b 69 6e 2f 22 |://globa|l/skin/"|
|000000e0| 20 74 79 70 65 3d 22 74 | 65 78 74 2f 63 73 73 22 | type="t|ext/css"|
|000000f0| 3f 3e 0a 3c 21 2d 2d 0d | 0a 3c 77 69 6e 64 6f 77 |?>.<!--.|.<window|
|00000100| 20 63 6c 61 73 73 3d 22 | 64 69 61 6c 6f 67 22 0d | class="|dialog".|
|00000110| 0a 09 74 69 74 6c 65 3d | 22 42 65 65 20 46 72 65 |..title=|"Bee Fre|
|00000120| 65 20 2d 20 41 62 6f 75 | 74 22 0d 0a 09 6f 72 69 |e - Abou|t"...ori|
|00000130| 65 6e 74 3d 22 76 65 72 | 74 69 63 61 6c 22 0d 0a |ent="ver|tical"..|
|00000140| 09 61 75 74 6f 73 74 72 | 65 74 63 68 3d 22 61 6c |.autostr|etch="al|
|00000150| 77 61 79 73 22 0d 0a 09 | 6f 6e 6c 6f 61 64 3d 22 |ways"...|onload="|
|00000160| 73 69 7a 65 54 6f 43 6f | 6e 74 65 6e 74 28 29 22 |sizeToCo|ntent()"|
|00000170| 0d 0a 09 78 6d 6c 6e 73 | 3d 22 68 74 74 70 3a 2f |...xmlns|="http:/|
|00000180| 2f 77 77 77 2e 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |/www.moz|illa.org|
|00000190| 2f 6b 65 79 6d 61 73 74 | 65 72 2f 67 61 74 65 6b |/keymast|er/gatek|
|000001a0| 65 65 70 65 72 2f 74 68 | 65 72 65 2e 69 73 2e 6f |eeper/th|ere.is.o|
|000001b0| 6e 6c 79 2e 78 75 6c 22 | 3e 0a 2d 2d 3e 0a 3c 64 |nly.xul"|>.-->.<d|
|000001c0| 69 61 6c 6f 67 20 62 75 | 74 74 6f 6e 73 3d 22 61 |ialog bu|ttons="a|
|000001d0| 63 63 65 70 74 22 0a 20 | 20 20 20 69 64 3d 22 62 |ccept". | id="b|
|000001e0| 65 65 66 72 65 65 2d 61 | 62 6f 75 74 2d 64 69 61 |eefree-a|bout-dia|
|000001f0| 6c 6f 67 22 0d 0a 09 74 | 69 74 6c 65 3d 22 42 65 |log"...t|itle="Be|
|00000200| 65 20 46 72 65 65 20 2d | 20 41 62 6f 75 74 22 0a |e Free -| About".|
|00000210| 20 20 20 20 78 6d 6c 6e | 73 3d 22 68 74 74 70 3a | xmln|s="http:|
|00000220| 2f 2f 77 77 77 2e 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |//www.mo|zilla.or|
|00000230| 67 2f 6b 65 79 6d 61 73 | 74 65 72 2f 67 61 74 65 |g/keymas|ter/gate|
|00000240| 6b 65 65 70 65 72 2f 74 | 68 65 72 65 2e 69 73 2e |keeper/t|here.is.|
|00000250| 6f 6e 6c 79 2e 78 75 6c | 22 3e 0a 0a 3c 73 63 72 |only.xul|">..<scr|
|00000260| 69 70 74 20 74 79 70 65 | 3d 22 61 70 70 6c 69 63 |ipt type|="applic|
|00000270| 61 74 69 6f 6e 2f 78 2d | 6a 61 76 61 73 63 72 69 |ation/x-|javascri|
|00000280| 70 74 22 3e 3c 21 5b 43 | 44 41 54 41 5b 0a 66 75 |pt"><![C|DATA[.fu|
|00000290| 6e 63 74 69 6f 6e 20 62 | 65 65 66 72 65 65 5f 47 |nction b|eefree_G|
|000002a0| 55 49 5f 73 75 70 65 72 | 5f 68 6f 6e 65 79 5f 62 |UI_super|_honey_b|
|000002b0| 65 65 5f 63 6c 6f 73 65 | 28 29 0a 7b 0a 20 20 20 |ee_close|().{. |
|000002c0| 20 77 69 6e 64 6f 77 2e | 63 6c 6f 73 65 28 29 3b | window.|close();|
|000002d0| 0a 7d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 65 65 66 |.}.funct|ion beef|
|000002e0| 72 65 65 5f 47 55 49 5f | 73 75 70 65 72 5f 68 6f |ree_GUI_|super_ho|
|000002f0| 6e 65 79 5f 62 65 65 5f | 75 72 6c 28 29 0a 7b 0a |ney_bee_|url().{.|
|00000300| 20 20 20 20 76 61 72 20 | 75 72 6c 20 3d 20 22 68 | var |url = "h|
|00000310| 74 74 70 3a 2f 2f 68 6f | 6e 65 79 62 65 65 6e 65 |ttp://ho|neybeene|
|00000320| 74 2e 61 6c 74 65 72 76 | 69 73 74 61 2e 6f 72 67 |t.alterv|ista.org|
|00000330| 22 3b 0a 20 20 20 20 77 | 69 6e 64 6f 77 2e 6f 70 |";. w|indow.op|
|00000340| 65 6e 28 75 72 6c 29 3b | 0a 7d 0a 66 75 6e 63 74 |en(url);|.}.funct|
|00000350| 69 6f 6e 20 62 65 65 66 | 72 65 65 5f 47 55 49 5f |ion beef|ree_GUI_|
|00000360| 73 75 70 65 72 5f 68 6f | 6e 65 79 5f 62 65 65 5f |super_ho|ney_bee_|
|00000370| 61 62 6f 75 74 28 29 0a | 7b 0a 20 20 20 20 62 65 |about().|{. be|
|00000380| 65 66 72 65 65 5f 47 55 | 49 5f 73 75 70 65 72 5f |efree_GU|I_super_|
|00000390| 68 6f 6e 65 79 5f 62 65 | 65 5f 75 72 6c 28 29 3b |honey_be|e_url();|
|000003a0| 0a 20 20 20 20 62 65 65 | 66 72 65 65 5f 47 55 49 |. bee|free_GUI|
|000003b0| 5f 73 75 70 65 72 5f 68 | 6f 6e 65 79 5f 62 65 65 |_super_h|oney_bee|
|000003c0| 5f 63 6c 6f 73 65 28 29 | 3b 0a 7d 0a 5d 5d 3e 0a |_close()|;.}.]]>.|
|000003d0| 3c 2f 73 63 72 69 70 74 | 3e 0d 0a 3c 67 72 6f 75 |</script|>..<grou|
|000003e0| 70 62 6f 78 20 66 6c 65 | 78 3d 22 31 22 20 73 74 |pbox fle|x="1" st|
|000003f0| 79 6c 65 3d 22 62 61 63 | 6b 67 72 6f 75 6e 64 2d |yle="bac|kground-|
|00000400| 63 6f 6c 6f 72 3a 20 23 | 66 33 65 32 39 30 3b 20 |color: #|f3e290; |
|00000410| 6d 61 72 67 69 6e 3a 20 | 32 36 70 78 3b 20 70 61 |margin: |26px; pa|
|00000420| 64 64 69 6e 67 3a 20 30 | 3b 22 20 61 6c 69 67 6e |dding: 0|;" align|
|00000430| 3d 22 63 65 6e 74 65 72 | 22 20 6f 72 69 65 6e 74 |="center|" orient|
|00000440| 3d 22 76 65 72 74 69 63 | 61 6c 22 3e 3c 21 2d 2d |="vertic|al"><!--|
|00000450| 20 2d 2d 3e 0d 0a 20 20 | 20 20 3c 67 72 6f 75 70 | -->.. | <group|
|00000460| 62 6f 78 20 66 6c 65 78 | 3d 22 31 22 20 61 6c 69 |box flex|="1" ali|
|00000470| 67 6e 3d 22 63 65 6e 74 | 65 72 22 20 6f 72 69 65 |gn="cent|er" orie|
|00000480| 6e 74 3d 22 68 6f 72 69 | 7a 6f 6e 74 61 6c 22 3e |nt="hori|zontal">|
|00000490| 3c 21 2d 2d 2d 2d 3e 0d | 0a 20 20 20 20 20 20 20 |<!---->.|. |
|000004a0| 20 3c 76 62 6f 78 3e 0d | 0a 20 20 20 20 20 20 20 | <vbox>.|. |
|000004b0| 20 20 20 20 20 3c 74 65 | 78 74 20 76 61 6c 75 65 | <te|xt value|
|000004c0| 3d 22 42 65 65 20 46 72 | 65 65 22 20 73 74 79 6c |="Bee Fr|ee" styl|
|000004d0| 65 3d 22 66 6f 6e 74 2d | 77 65 69 67 68 74 3a 20 |e="font-|weight: |
|000004e0| 62 6f 6c 64 3b 20 66 6f | 6e 74 2d 73 69 7a 65 3a |bold; fo|nt-size:|
|000004f0| 20 78 2d 6c 61 72 67 65 | 3b 20 63 6f 6c 6f 72 3a | x-large|; color:|
|00000500| 20 23 66 66 39 39 30 30 | 3b 22 2f 3e 0d 0a 20 20 | #ff9900|;"/>.. |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 3c 73 65 70 61 72 | | <separ|
|00000520| 61 74 6f 72 20 63 6c 61 | 73 73 3d 22 74 68 69 6e |ator cla|ss="thin|
|00000530| 22 2f 3e 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |"/>.. | |
|00000540| 20 3c 74 65 78 74 20 76 | 61 6c 75 65 3d 22 43 72 | <text v|alue="Cr|
|00000550| 65 61 74 65 64 20 42 79 | 22 20 73 74 79 6c 65 3d |eated By|" style=|
|00000560| 22 66 6f 6e 74 2d 77 65 | 69 67 68 74 3a 20 62 6f |"font-we|ight: bo|
|00000570| 6c 64 3b 20 63 6f 6c 6f | 72 3a 20 23 36 36 33 34 |ld; colo|r: #6634|
|00000580| 30 30 3b 22 2f 3e 0d 0a | 20 20 20 20 20 20 20 20 |00;"/>..| |
|00000590| 20 20 20 20 3c 74 65 78 | 74 20 76 61 6c 75 65 3d | <tex|t value=|
|000005a0| 22 42 65 65 22 20 63 6c | 61 73 73 3d 22 75 72 6c |"Bee" cl|ass="url|
|000005b0| 22 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |".. | |
|000005c0| 20 20 20 6f 6e 63 6c 69 | 63 6b 3d 22 62 65 65 66 | oncli|ck="beef|
|000005d0| 72 65 65 5f 47 55 49 5f | 73 75 70 65 72 5f 68 6f |ree_GUI_|super_ho|
|000005e0| 6e 65 79 5f 62 65 65 5f | 61 62 6f 75 74 28 29 3b |ney_bee_|about();|
|000005f0| 22 2f 3e 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |"/>.. | |
|00000600| 20 3c 73 65 70 61 72 61 | 74 6f 72 20 63 6c 61 73 | <separa|tor clas|
|00000610| 73 3d 22 74 68 69 6e 22 | 2f 3e 0d 0a 20 20 20 20 |s="thin"|/>.. |
|00000620| 20 20 20 20 20 20 20 20 | 3c 74 65 78 74 20 76 61 | |<text va|
|00000630| 6c 75 65 3d 22 48 6f 6d | 65 20 50 61 67 65 22 20 |lue="Hom|e Page" |
|00000640| 73 74 79 6c 65 3d 22 66 | 6f 6e 74 2d 77 65 69 67 |style="f|ont-weig|
|00000650| 68 74 3a 20 62 6f 6c 64 | 3b 20 63 6f 6c 6f 72 3a |ht: bold|; color:|
|00000660| 20 23 36 36 33 34 30 30 | 3b 22 2f 3e 0d 0a 20 20 | #663400|;"/>.. |
|00000670| 20 20 20 20 20 20 20 20 | 20 20 3c 74 65 78 74 20 | | <text |
|00000680| 76 61 6c 75 65 3d 22 68 | 74 74 70 3a 2f 2f 68 6f |value="h|ttp://ho|
|00000690| 6e 65 79 62 65 65 6e 65 | 74 2e 61 6c 74 65 72 76 |neybeene|t.alterv|
|000006a0| 69 73 74 61 2e 6f 72 67 | 22 0d 0a 20 20 20 20 20 |ista.org|".. |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 63 6c 61 73 73 | | class|
|000006c0| 3d 22 75 72 6c 22 0d 0a | 20 20 20 20 20 20 20 20 |="url"..| |
|000006d0| 20 20 20 20 20 20 20 20 | 6f 6e 63 6c 69 63 6b 3d | |onclick=|
|000006e0| 22 62 65 65 66 72 65 65 | 5f 47 55 49 5f 73 75 70 |"beefree|_GUI_sup|
|000006f0| 65 72 5f 68 6f 6e 65 79 | 5f 62 65 65 5f 61 62 6f |er_honey|_bee_abo|
|00000700| 75 74 28 29 3b 22 2f 3e | 0d 0a 20 20 20 20 20 20 |ut();"/>|.. |
|00000710| 20 20 20 20 20 20 3c 74 | 65 78 74 20 76 61 6c 75 | <t|ext valu|
|00000720| 65 3d 22 20 22 2f 3e 0d | 0a 20 20 20 20 20 20 20 |e=" "/>.|. |
|00000730| 20 20 20 20 20 3c 74 65 | 78 74 20 76 61 6c 75 65 | <te|xt value|
|00000740| 3d 22 54 68 61 6e 6b 20 | 79 6f 75 20 66 6f 72 20 |="Thank |you for |
|00000750| 75 73 69 6e 67 20 42 65 | 65 46 52 45 45 21 21 21 |using Be|eFREE!!!|
|00000760| 21 22 20 73 74 79 6c 65 | 3d 22 66 6f 6e 74 2d 73 |!" style|="font-s|
|00000770| 74 79 6c 65 3a 20 69 74 | 61 6c 69 63 3b 20 63 6f |tyle: it|alic; co|
|00000780| 6c 6f 72 3a 20 23 37 65 | 38 64 30 63 3b 22 20 2f |lor: #7e|8d0c;" /|
|00000790| 3e 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 3c |>.. | <|
|000007a0| 73 65 70 61 72 61 74 6f | 72 20 63 6c 61 73 73 3d |separato|r class=|
|000007b0| 22 74 68 69 6e 22 2f 3e | 0d 0a 20 20 20 20 20 20 |"thin"/>|.. |
|000007c0| 20 20 3c 2f 76 62 6f 78 | 3e 0d 0a 20 20 20 20 3c | </vbox|>.. <|
|000007d0| 2f 67 72 6f 75 70 62 6f | 78 3e 0a 20 20 20 20 3c |/groupbo|x>. <|
|000007e0| 21 2d 2d 0d 0a 20 20 20 | 20 3c 68 62 6f 78 3e 0d |!--.. | <hbox>.|
|000007f0| 0a 20 20 20 20 20 20 20 | 20 3c 62 75 74 74 6f 6e |. | <button|
|00000800| 20 6c 61 62 65 6c 3d 22 | 43 6c 6f 73 65 22 20 6f | label="|Close" o|
|00000810| 6e 63 6f 6d 6d 61 6e 64 | 3d 22 77 69 6e 64 6f 77 |ncommand|="window|
|00000820| 2e 63 6c 6f 73 65 28 29 | 3b 22 2f 3e 0d 0a 20 20 |.close()|;"/>.. |
|00000830| 20 20 3c 2f 68 62 6f 78 | 3e 0a 20 20 20 20 2d 2d | </hbox|>. --|
|00000840| 3e 0d 0a 3c 2f 67 72 6f | 75 70 62 6f 78 3e 0a 3c |>..</gro|upbox>.<|
|00000850| 21 2d 2d 3c 2f 77 69 6e | 64 6f 77 3e 2d 2d 3e 0a |!--</win|dow>-->.|
|00000860| 3c 2f 64 69 61 6c 6f 67 | 3e 0d 0a 0a 50 4b 03 04 |</dialog|>...PK..|
|00000870| 0a 03 00 00 00 00 a6 74 | 39 3c 6c 41 71 14 f3 04 |.......t|9<lAq...|
|00000880| 00 00 f3 04 00 00 22 00 | 00 00 63 6f 6e 74 65 6e |......".|..conten|
|00000890| 74 2f 62 65 65 66 72 65 | 65 2f 62 65 65 66 72 65 |t/beefre|e/beefre|
|000008a0| 65 2e 63 6f 6e 73 6f 6c | 65 2e 6a 73 2f 2a 0a 20 |e.consol|e.js/*. |
|000008b0| 20 20 20 32 30 30 39 20 | 2d 20 43 6f 70 79 72 69 | 2009 |- Copyri|
|000008c0| 67 68 74 20 62 79 20 42 | 65 65 20 3c 68 74 74 70 |ght by B|ee <http|
|000008d0| 3a 2f 2f 77 77 77 2e 68 | 6f 6e 65 79 62 65 65 6e |://www.h|oneybeen|
|000008e0| 65 74 2e 61 6c 74 65 72 | 76 69 73 74 61 2e 6f 72 |et.alter|vista.or|
|000008f0| 67 3e 2e 0a 20 20 20 20 | 54 68 69 73 20 70 72 6f |g>.. |This pro|
|00000900| 67 72 61 6d 20 69 73 20 | 66 72 65 65 20 73 6f 66 |gram is |free sof|
|00000910| 74 77 61 72 65 3b 20 79 | 6f 75 20 63 61 6e 20 72 |tware; y|ou can r|
|00000920| 65 64 69 73 74 72 69 62 | 75 74 65 20 69 74 20 61 |edistrib|ute it a|
|00000930| 6e 64 2f 6f 72 0a 20 20 | 20 20 6d 6f 64 69 66 79 |nd/or. | modify|
|00000940| 20 69 74 20 61 6e 64 65 | 72 20 74 68 65 20 74 65 | it ande|r the te|
|00000950| 72 6d 73 20 6f 66 20 74 | 68 65 20 47 4e 55 20 47 |rms of t|he GNU G|
|00000960| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00000970| 63 65 6e 73 65 0a 20 20 | 20 20 61 73 20 70 75 62 |cense. | as pub|
|00000980| 6c 69 73 68 65 64 20 62 | 79 20 74 68 65 20 46 72 |lished b|y the Fr|
|00000990| 65 65 20 53 6f 66 74 77 | 61 72 65 20 46 6f 61 6e |ee Softw|are Foan|
|000009a0| 64 61 74 69 6f 6e 3b 20 | 65 69 74 68 65 72 20 76 |dation; |either v|
|000009b0| 65 72 73 69 6f 6e 20 32 | 0a 20 20 20 20 6f 66 20 |ersion 2|. of |
|000009c0| 74 68 65 20 4c 69 63 65 | 6e 73 65 2c 20 6f 72 20 |the Lice|nse, or |
|000009d0| 28 61 74 20 79 6f 75 72 | 20 6f 70 74 69 6f 6e 29 |(at your| option)|
|000009e0| 20 61 6e 79 20 6c 61 74 | 65 72 20 76 65 72 73 69 | any lat|er versi|
|000009f0| 6f 6e 2e 0a 0a 20 20 20 | 20 54 68 69 73 20 70 72 |on... | This pr|
|00000a00| 6f 67 72 61 6d 20 69 73 | 20 64 69 73 74 72 69 62 |ogram is| distrib|
|00000a10| 75 74 65 64 20 69 6e 20 | 74 68 65 20 68 6f 70 65 |uted in |the hope|
|00000a20| 20 74 68 61 74 20 69 74 | 20 77 69 6c 6c 20 62 65 | that it| will be|
|00000a30| 20 75 73 65 66 75 6c 2c | 0a 20 20 20 20 62 75 74 | useful,|. but|
|00000a40| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 57 41 52 | WITHOUT| ANY WAR|
|00000a50| 52 41 4e 54 59 3b 20 77 | 69 74 68 6f 75 74 20 65 |RANTY; w|ithout e|
|00000a60| 76 65 6e 20 74 68 65 20 | 69 6d 70 6c 69 65 64 20 |ven the |implied |
|00000a70| 77 61 72 72 61 6e 74 79 | 20 6f 66 0a 20 20 20 20 |warranty| of. |
|00000a80| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00000a90| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|00000aa0| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|00000ab0| 4f 53 45 2e 20 20 53 65 | 65 20 74 68 65 0a 20 20 |OSE. Se|e the. |
|00000ac0| 20 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 | GNU Ge|neral Pu|
|00000ad0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|00000ae0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 0a | more de|tails...|
|00000af0| 20 20 20 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 68 | You |should h|
|00000b00| 61 76 65 20 72 65 63 65 | 69 76 65 64 20 61 20 63 |ave rece|ived a c|
|00000b10| 6f 70 79 20 6f 66 20 74 | 68 65 20 47 4e 55 20 47 |opy of t|he GNU G|
|00000b20| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00000b30| 63 65 6e 73 65 0a 20 20 | 20 20 61 6c 6f 6e 67 20 |cense. | along |
|00000b40| 77 69 74 68 20 74 68 69 | 73 20 70 72 6f 67 72 61 |with thi|s progra|
|00000b50| 6d 3b 20 69 66 20 6e 6f | 74 2c 20 77 72 69 74 65 |m; if no|t, write|
|00000b60| 20 74 6f 20 74 68 65 20 | 46 72 65 65 20 53 6f 66 | to the |Free Sof|
|00000b70| 74 77 61 72 65 0a 20 20 | 20 20 46 6f 61 6e 64 61 |tware. | Foanda|
|00000b80| 74 69 6f 6e 2c 20 49 6e | 63 2e 2c 20 35 31 20 46 |tion, In|c., 51 F|
|00000b90| 72 61 6e 6b 6c 69 6e 20 | 53 74 72 65 65 74 2c 20 |ranklin |Street, |
|00000ba0| 46 69 66 74 68 20 46 6c | 6f 6f 72 2c 20 42 6f 73 |Fifth Fl|oor, Bos|
|00000bb0| 74 6f 6e 2c 20 4d 41 20 | 30 32 31 31 30 2d 31 33 |ton, MA |02110-13|
|00000bc0| 30 31 2c 20 55 53 41 2e | 0a 2a 2f 0a 0a 66 75 6e |01, USA.|.*/..fun|
|00000bd0| 63 74 69 6f 6e 20 62 65 | 65 66 72 65 65 5f 63 6f |ction be|efree_co|
|00000be0| 6e 73 6f 6c 65 5f 70 72 | 69 6e 74 28 73 74 72 29 |nsole_pr|int(str)|
|00000bf0| 0a 7b 0a 20 20 20 20 43 | 6f 6d 70 6f 6e 65 6e 74 |.{. C|omponent|
|00000c00| 73 2e 63 6c 61 73 73 65 | 73 5b 22 40 6d 6f 7a 69 |s.classe|s["@mozi|
|00000c10| 6c 6c 61 2e 6f 72 67 2f | 63 6f 6e 73 6f 6c 65 73 |lla.org/|consoles|
|00000c20| 65 72 76 69 63 65 3b 31 | 22 5d 2e 67 65 74 53 65 |ervice;1|"].getSe|
|00000c30| 72 76 69 63 65 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |rvice(Co|mponents|
|00000c40| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 43 |.interfa|ces.nsIC|
|00000c50| 6f 6e 73 6f 6c 65 53 65 | 72 76 69 63 65 29 2e 6c |onsoleSe|rvice).l|
|00000c60| 6f 67 53 74 72 69 6e 67 | 4d 65 73 73 61 67 65 28 |ogString|Message(|
|00000c70| 73 74 72 29 3b 0a 20 20 | 20 20 72 65 74 75 72 6e |str);. | return|
|00000c80| 20 74 72 75 65 3b 0a 7d | 0a 0a 62 65 65 66 72 65 | true;.}|..beefre|
|00000c90| 65 5f 70 72 65 66 73 2e | 73 65 74 42 6f 6f 6c 50 |e_prefs.|setBoolP|
|00000ca0| 72 65 66 28 62 65 65 66 | 72 65 65 5f 70 72 65 66 |ref(beef|ree_pref|
|00000cb0| 5f 6e 61 6d 65 28 22 64 | 65 62 75 67 2e 65 6e 61 |_name("d|ebug.ena|
|00000cc0| 62 6c 65 64 22 29 2c 20 | 66 61 6c 73 65 29 3b 0a |bled"), |false);.|
|00000cd0| 66 75 6e 63 74 69 6f 6e | 20 62 65 65 66 72 65 65 |function| beefree|
|00000ce0| 5f 63 6f 6e 73 6f 6c 65 | 5f 64 65 62 75 67 28 73 |_console|_debug(s|
|00000cf0| 74 72 29 0a 7b 0a 20 20 | 20 20 2f 2f 65 78 74 65 |tr).{. | //exte|
|00000d00| 6e 73 69 6f 6e 73 2e 62 | 65 65 66 72 65 65 2e 64 |nsions.b|eefree.d|
|00000d10| 65 62 75 67 2e 65 6e 61 | 62 6c 65 64 0a 20 20 20 |ebug.ena|bled. |
|00000d20| 20 69 66 28 21 62 65 65 | 66 72 65 65 5f 70 72 65 | if(!bee|free_pre|
|00000d30| 66 73 2e 67 65 74 42 6f | 6f 6c 50 72 65 66 28 62 |fs.getBo|olPref(b|
|00000d40| 65 65 66 72 65 65 5f 70 | 72 65 66 5f 6e 61 6d 65 |eefree_p|ref_name|
|00000d50| 28 22 64 65 62 75 67 2e | 65 6e 61 62 6c 65 64 22 |("debug.|enabled"|
|00000d60| 29 29 29 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 |))) retu|rn false|
|00000d70| 3b 0a 20 20 20 20 72 65 | 74 75 72 6e 20 62 65 65 |;. re|turn bee|
|00000d80| 66 72 65 65 5f 63 6f 6e | 73 6f 6c 65 5f 70 72 69 |free_con|sole_pri|
|00000d90| 6e 74 28 73 74 72 29 3b | 0a 7d 09 09 0a 0a 0a 50 |nt(str);|.}.....P|
|00000da0| 4b 03 04 0a 03 00 00 00 | 00 a6 74 39 3c 98 d7 2d |K.......|..t9<..-|
|00000db0| dc a1 05 00 00 a1 05 00 | 00 1e 00 00 00 63 6f 6e |........|.....con|
|00000dc0| 74 65 6e 74 2f 62 65 65 | 66 72 65 65 2f 62 65 65 |tent/bee|free/bee|
|00000dd0| 66 72 65 65 2e 65 6e 64 | 2e 6a 73 2f 2a 0a 20 20 |free.end|.js/*. |
|00000de0| 20 20 32 30 30 39 20 2d | 20 43 6f 70 79 72 69 67 | 2009 -| Copyrig|
|00000df0| 68 74 20 62 79 20 42 65 | 65 20 3c 68 74 74 70 3a |ht by Be|e <http:|
|00000e00| 2f 2f 77 77 77 2e 68 6f | 6e 65 79 62 65 65 6e 65 |//www.ho|neybeene|
|00000e10| 74 2e 61 6c 74 65 72 76 | 69 73 74 61 2e 6f 72 67 |t.alterv|ista.org|
|00000e20| 3e 2e 0a 20 20 20 20 54 | 68 69 73 20 70 72 6f 67 |>.. T|his prog|
|00000e30| 72 61 6d 20 69 73 20 66 | 72 65 65 20 73 6f 66 74 |ram is f|ree soft|
|00000e40| 77 61 72 65 3b 20 79 6f | 75 20 63 61 6e 20 72 65 |ware; yo|u can re|
|00000e50| 64 69 73 74 72 69 62 75 | 74 65 20 69 74 20 61 6e |distribu|te it an|
|00000e60| 64 2f 6f 72 0a 20 20 20 | 20 6d 6f 64 69 66 79 20 |d/or. | modify |
|00000e70| 69 74 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |it under| the ter|
|00000e80| 6d 73 20 6f 66 20 74 68 | 65 20 47 4e 55 20 47 65 |ms of th|e GNU Ge|
|00000e90| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00000ea0| 65 6e 73 65 0a 20 20 20 | 20 61 73 20 70 75 62 6c |ense. | as publ|
|00000eb0| 69 73 68 65 64 20 62 79 | 20 74 68 65 20 46 72 65 |ished by| the Fre|
|00000ec0| 65 20 53 6f 66 74 77 61 | 72 65 20 46 6f 75 6e 64 |e Softwa|re Found|
|00000ed0| 61 74 69 6f 6e 3b 20 65 | 69 74 68 65 72 20 76 65 |ation; e|ither ve|
|00000ee0| 72 73 69 6f 6e 20 32 0a | 20 20 20 20 6f 66 20 74 |rsion 2.| of t|
|00000ef0| 68 65 20 4c 69 63 65 6e | 73 65 2c 20 6f 72 20 28 |he Licen|se, or (|
|00000f00| 61 74 20 79 6f 75 72 20 | 6f 70 74 69 6f 6e 29 20 |at your |option) |
|00000f10| 61 6e 79 20 6c 61 74 65 | 72 20 76 65 72 73 69 6f |any late|r versio|
|00000f20| 6e 2e 0a 0a 20 20 20 20 | 54 68 69 73 20 70 72 6f |n... |This pro|
|00000f30| 67 72 61 6d 20 69 73 20 | 64 69 73 74 72 69 62 75 |gram is |distribu|
|00000f40| 74 65 64 20 69 6e 20 74 | 68 65 20 68 6f 70 65 20 |ted in t|he hope |
|00000f50| 74 68 61 74 20 69 74 20 | 77 69 6c 6c 20 62 65 20 |that it |will be |
|00000f60| 75 73 65 66 75 6c 2c 0a | 20 20 20 20 62 75 74 20 |useful,.| but |
|00000f70| 57 49 54 48 4f 55 54 20 | 41 4e 59 20 57 41 52 52 |WITHOUT |ANY WARR|
|00000f80| 41 4e 54 59 3b 20 77 69 | 74 68 6f 75 74 20 65 76 |ANTY; wi|thout ev|
|00000f90| 65 6e 20 74 68 65 20 69 | 6d 70 6c 69 65 64 20 77 |en the i|mplied w|
|00000fa0| 61 72 72 61 6e 74 79 20 | 6f 66 0a 20 20 20 20 4d |arranty |of. M|
|00000fb0| 45 52 43 48 41 4e 54 41 | 42 49 4c 49 54 59 20 6f |ERCHANTA|BILITY o|
|00000fc0| 72 20 46 49 54 4e 45 53 | 53 20 46 4f 52 20 41 20 |r FITNES|S FOR A |
|00000fd0| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00000fe0| 53 45 2e 20 20 53 65 65 | 20 74 68 65 0a 20 20 20 |SE. See| the. |
|00000ff0| 20 47 4e 55 20 47 65 6e | 65 72 61 6c 20 50 75 62 | GNU Gen|eral Pub|
|00001000| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 66 6f 72 20 |lic Lice|nse for |
|00001010| 6d 6f 72 65 20 64 65 74 | 61 69 6c 73 2e 0a 0a 20 |more det|ails... |
|00001020| 20 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 68 61 | You s|hould ha|
|00001030| 76 65 20 72 65 63 65 69 | 76 65 64 20 61 20 63 6f |ve recei|ved a co|
|00001040| 70 79 20 6f 66 20 74 68 | 65 20 47 4e 55 20 47 65 |py of th|e GNU Ge|
|00001050| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00001060| 65 6e 73 65 0a 20 20 20 | 20 61 6c 6f 6e 67 20 77 |ense. | along w|
|00001070| 69 74 68 20 74 68 69 73 | 20 70 72 6f 67 72 61 6d |ith this| program|
|00001080| 3b 20 69 66 20 6e 6f 74 | 2c 20 77 72 69 74 65 20 |; if not|, write |
|00001090| 74 6f 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 |to the F|ree Soft|
|000010a0| 77 61 72 65 0a 20 20 20 | 20 46 6f 75 6e 64 61 74 |ware. | Foundat|
|000010b0| 69 6f 6e 2c 20 49 6e 63 | 2e 2c 20 35 31 20 46 72 |ion, Inc|., 51 Fr|
|000010c0| 61 6e 6b 6c 69 6e 20 53 | 74 72 65 65 74 2c 20 46 |anklin S|treet, F|
|000010d0| 69 66 74 68 20 46 6c 6f | 6f 72 2c 20 42 6f 73 74 |ifth Flo|or, Bost|
|000010e0| 6f 6e 2c 20 4d 41 20 30 | 32 31 31 30 2d 31 33 30 |on, MA 0|2110-130|
|000010f0| 31 2c 20 55 53 41 2e 0a | 2a 2f 0a 0a 0a 28 66 75 |1, USA..|*/...(fu|
|00001100| 6e 63 74 69 6f 6e 28 29 | 7b 20 2f 2f 75 6e 6e 61 |nction()|{ //unna|
|00001110| 6d 65 64 20 66 75 6e 63 | 74 69 6f 6e 21 21 21 21 |med func|tion!!!!|
|00001120| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 0a 20 20 |!!!!!!!!|!!!!!. |
|00001130| 20 20 76 61 72 20 65 6e | 67 69 6e 65 73 5f 65 6e | var en|gines_en|
|00001140| 61 62 6c 65 64 20 3d 20 | 30 3b 0a 20 20 20 20 76 |abled = |0;. v|
|00001150| 61 72 20 65 6e 67 69 6e | 65 73 5f 6e 61 6d 65 73 |ar engin|es_names|
|00001160| 20 3d 20 22 22 3b 0a 20 | 20 20 20 76 61 72 20 6d | = "";. | var m|
|00001170| 73 67 20 3d 20 22 22 3b | 0a 20 20 20 20 76 61 72 |sg = "";|. var|
|00001180| 20 69 20 3d 20 62 65 65 | 66 72 65 65 5f 77 65 62 | i = bee|free_web|
|00001190| 73 69 74 65 5f 66 65 74 | 63 68 5f 69 6e 69 74 28 |site_fet|ch_init(|
|000011a0| 29 3b 0a 20 20 20 20 77 | 68 69 6c 65 28 62 65 65 |);. w|hile(bee|
|000011b0| 66 72 65 65 5f 77 65 62 | 73 69 74 65 5f 66 65 74 |free_web|site_fet|
|000011c0| 63 68 5f 74 65 73 74 28 | 2b 2b 69 29 29 0a 20 20 |ch_test(|++i)). |
|000011d0| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 69 66 28 62 | {. | if(b|
|000011e0| 65 65 66 72 65 65 5f 77 | 65 62 73 69 74 65 5f 67 |eefree_w|ebsite_g|
|000011f0| 65 74 5f 69 6e 66 6f 28 | 69 2c 20 22 65 6e 61 62 |et_info(|i, "enab|
|00001200| 6c 65 64 22 29 29 0a 20 | 20 20 20 20 20 20 20 20 |led")). | |
|00001210| 20 20 20 65 6e 67 69 6e | 65 73 5f 65 6e 61 62 6c | engin|es_enabl|
|00001220| 65 64 2b 2b 3b 0a 20 20 | 20 20 20 20 20 20 65 6e |ed++;. | en|
|00001230| 67 69 6e 65 73 5f 6e 61 | 6d 65 73 20 2b 3d 20 0a |gines_na|mes += .|
|00001240| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 65 6e 67 | | (eng|
|00001250| 69 6e 65 73 5f 6e 61 6d | 65 73 2e 6c 65 6e 67 74 |ines_nam|es.lengt|
|00001260| 68 20 3e 20 30 20 3f 20 | 22 2c 20 22 20 3a 20 22 |h > 0 ? |", " : "|
|00001270| 22 29 20 2b 20 0a 20 20 | 20 20 20 20 20 20 20 20 |") + . | |
|00001280| 20 20 62 65 65 66 72 65 | 65 5f 77 65 62 73 69 74 | beefre|e_websit|
|00001290| 65 5f 67 65 74 5f 69 6e | 66 6f 5f 77 69 74 68 5f |e_get_in|fo_with_|
|000012a0| 65 72 72 6f 72 28 69 2c | 20 22 6e 61 6d 65 22 2c |error(i,| "name",|
|000012b0| 20 22 3c 6e 6f 20 6e 61 | 6d 65 20 73 65 74 3e 22 | "<no na|me set>"|
|000012c0| 29 3b 0a 20 20 20 20 7d | 0a 20 20 20 20 6d 73 67 |);. }|. msg|
|000012d0| 20 20 3d 20 22 5b 42 65 | 65 46 52 45 45 5d 20 68 | = "[Be|eFREE] h|
|000012e0| 61 73 20 67 6f 74 3a 20 | 22 20 2b 20 62 65 65 66 |as got: |" + beef|
|000012f0| 72 65 65 5f 77 65 62 73 | 69 74 65 5f 63 6f 75 6e |ree_webs|ite_coun|
|00001300| 74 28 29 20 2b 20 22 20 | 66 69 6c 74 65 72 73 20 |t() + " |filters |
|00001310| 28 22 20 2b 20 65 6e 67 | 69 6e 65 73 5f 65 6e 61 |(" + eng|ines_ena|
|00001320| 62 6c 65 64 20 2b 20 22 | 20 65 6e 61 62 6c 65 64 |bled + "| enabled|
|00001330| 29 22 3b 0a 20 20 20 20 | 6d 73 67 20 2b 3d 20 22 |)";. |msg += "|
|00001340| 5c 6e 22 20 2b 20 65 6e | 67 69 6e 65 73 5f 6e 61 |\n" + en|gines_na|
|00001350| 6d 65 73 3b 0a 20 20 20 | 20 62 65 65 66 72 65 65 |mes;. | beefree|
|00001360| 5f 63 6f 6e 73 6f 6c 65 | 5f 70 72 69 6e 74 28 6d |_console|_print(m|
|00001370| 73 67 29 3b 0a 7d 29 28 | 29 3b 0a 0a 50 4b 03 04 |sg);.})(|);..PK..|
|00001380| 0a 03 00 00 00 00 a6 74 | 39 3c 75 09 b6 a5 f7 0e |.......t|9<u.....|
|00001390| 00 00 f7 0e 00 00 1f 00 | 00 00 63 6f 6e 74 65 6e |........|..conten|
|000013a0| 74 2f 62 65 65 66 72 65 | 65 2f 62 65 65 66 72 65 |t/beefre|e/beefre|
|000013b0| 65 2e 68 61 73 68 2e 6a | 73 2f 2a 0a 20 20 20 20 |e.hash.j|s/*. |
|000013c0| 32 30 31 30 20 2d 20 43 | 6f 70 79 72 69 67 68 74 |2010 - C|opyright|
|000013d0| 20 62 79 20 42 65 65 20 | 3c 68 74 74 70 3a 2f 2f | by Bee |<http://|
|000013e0| 77 77 77 2e 68 6f 6e 65 | 79 62 65 65 6e 65 74 2e |www.hone|ybeenet.|
|000013f0| 61 6c 74 65 72 76 69 73 | 74 61 2e 6f 72 67 3e 2e |altervis|ta.org>.|
|00001400| 0a 20 20 20 20 54 68 69 | 73 20 70 72 6f 67 72 61 |. Thi|s progra|
|00001410| 6d 20 69 73 20 66 72 65 | 65 20 73 6f 66 74 77 61 |m is fre|e softwa|
|00001420| 72 65 3b 20 79 6f 75 20 | 63 61 6e 20 72 65 64 69 |re; you |can redi|
|00001430| 73 74 72 69 62 75 74 65 | 20 69 74 20 61 6e 64 2f |stribute| it and/|
|00001440| 6f 72 0a 20 20 20 20 6d | 6f 64 69 66 79 20 69 74 |or. m|odify it|
|00001450| 20 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 | under t|he terms|
|00001460| 20 6f 66 20 74 68 65 20 | 47 4e 55 20 47 65 6e 65 | of the |GNU Gene|
|00001470| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00001480| 73 65 0a 20 20 20 20 61 | 73 20 70 75 62 6c 69 73 |se. a|s publis|
|00001490| 68 65 64 20 62 79 20 74 | 68 65 20 46 72 65 65 20 |hed by t|he Free |
|000014a0| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|000014b0| 69 6f 6e 3b 20 65 69 74 | 68 65 72 20 76 65 72 73 |ion; eit|her vers|
|000014c0| 69 6f 6e 20 32 0a 20 20 | 20 20 6f 66 20 74 68 65 |ion 2. | of the|
|000014d0| 20 4c 69 63 65 6e 73 65 | 2c 20 6f 72 20 28 61 74 | License|, or (at|
|000014e0| 20 79 6f 75 72 20 6f 70 | 74 69 6f 6e 29 20 61 6e | your op|tion) an|
|000014f0| 79 20 6c 61 74 65 72 20 | 76 65 72 73 69 6f 6e 2e |y later |version.|
|00001500| 0a 0a 20 20 20 20 54 68 | 69 73 20 70 72 6f 67 72 |.. Th|is progr|
|00001510| 61 6d 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |am is di|stribute|
|00001520| 64 20 69 6e 20 74 68 65 | 20 68 6f 70 65 20 74 68 |d in the| hope th|
|00001530| 61 74 20 69 74 20 77 69 | 6c 6c 20 62 65 20 75 73 |at it wi|ll be us|
|00001540| 65 66 75 6c 2c 0a 20 20 | 20 20 62 75 74 20 57 49 |eful,. | but WI|
|00001550| 54 48 4f 55 54 20 41 4e | 59 20 57 41 52 52 41 4e |THOUT AN|Y WARRAN|
|00001560| 54 59 3b 20 77 69 74 68 | 6f 75 74 20 65 76 65 6e |TY; with|out even|
|00001570| 20 74 68 65 20 69 6d 70 | 6c 69 65 64 20 77 61 72 | the imp|lied war|
|00001580| 72 61 6e 74 79 20 6f 66 | 0a 20 20 20 20 4d 45 52 |ranty of|. MER|
|00001590| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 6f 72 20 |CHANTABI|LITY or |
|000015a0| 46 49 54 4e 45 53 53 20 | 46 4f 52 20 41 20 50 41 |FITNESS |FOR A PA|
|000015b0| 52 54 49 43 55 4c 41 52 | 20 50 55 52 50 4f 53 45 |RTICULAR| PURPOSE|
|000015c0| 2e 20 20 53 65 65 20 74 | 68 65 0a 20 20 20 20 47 |. See t|he. G|
|000015d0| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|000015e0| 63 20 4c 69 63 65 6e 73 | 65 20 66 6f 72 20 6d 6f |c Licens|e for mo|
|000015f0| 72 65 20 64 65 74 61 69 | 6c 73 2e 0a 0a 20 20 20 |re detai|ls... |
|00001600| 20 59 6f 75 20 73 68 6f | 75 6c 64 20 68 61 76 65 | You sho|uld have|
|00001610| 20 72 65 63 65 69 76 65 | 64 20 61 20 63 6f 70 79 | receive|d a copy|
|00001620| 20 6f 66 20 74 68 65 20 | 47 4e 55 20 47 65 6e 65 | of the |GNU Gene|
|00001630| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00001640| 73 65 0a 20 20 20 20 61 | 6c 6f 6e 67 20 77 69 74 |se. a|long wit|
|00001650| 68 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 3b 20 |h this p|rogram; |
|00001660| 69 66 20 6e 6f 74 2c 20 | 77 72 69 74 65 20 74 6f |if not, |write to|
|00001670| 20 74 68 65 20 46 72 65 | 65 20 53 6f 66 74 77 61 | the Fre|e Softwa|
|00001680| 72 65 0a 20 20 20 20 46 | 6f 75 6e 64 61 74 69 6f |re. F|oundatio|
|00001690| 6e 2c 20 49 6e 63 2e 2c | 20 35 31 20 46 72 61 6e |n, Inc.,| 51 Fran|
|000016a0| 6b 6c 69 6e 20 53 74 72 | 65 65 74 2c 20 46 69 66 |klin Str|eet, Fif|
|000016b0| 74 68 20 46 6c 6f 6f 72 | 2c 20 42 6f 73 74 6f 6e |th Floor|, Boston|
|000016c0| 2c 20 4d 41 20 30 32 31 | 31 30 2d 31 33 30 31 2c |, MA 021|10-1301,|
|000016d0| 20 55 53 41 2e 0a 2a 2f | 0a 0a 0a 2f 2f 54 4f 44 | USA..*/|...//TOD|
|000016e0| 4f 3a 20 61 64 64 65 64 | 20 66 6f 72 20 66 75 74 |O: added| for fut|
|000016f0| 75 72 65 20 75 73 65 73 | 20 3f 3f 3f 3f 3f 3f 3f |ure uses| ???????|
|00001700| 3f 3f 3f 3f 3f 3f 3f 3f | 21 21 21 21 21 21 21 21 |????????|!!!!!!!!|
|00001710| 0a 0a 2f 2f 54 48 49 53 | 20 46 49 4c 45 20 49 53 |..//THIS| FILE IS|
|00001720| 20 55 4e 55 53 45 44 21 | 21 21 21 21 21 21 21 21 | UNUSED!|!!!!!!!!|
|00001730| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001740| 21 21 21 20 28 41 54 4d | 21 21 21 21 21 21 21 21 |!!! (ATM|!!!!!!!!|
|00001750| 21 29 0a 2f 2f 54 48 49 | 53 20 46 49 4c 45 20 49 |!).//THI|S FILE I|
|00001760| 53 20 55 4e 55 53 45 44 | 21 21 21 21 21 21 21 21 |S UNUSED|!!!!!!!!|
|00001770| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001780| 21 21 21 21 20 28 41 54 | 4d 21 21 21 21 21 21 21 |!!!! (AT|M!!!!!!!|
|00001790| 21 21 29 0a 2f 2f 54 48 | 49 53 20 46 49 4c 45 20 |!!).//TH|IS FILE |
|000017a0| 49 53 20 55 4e 55 53 45 | 44 21 21 21 21 21 21 21 |IS UNUSE|D!!!!!!!|
|000017b0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|000017c0| 21 21 21 21 21 20 28 41 | 54 4d 21 21 21 21 21 21 |!!!!! (A|TM!!!!!!|
|000017d0| 21 21 21 29 0a 2f 2f 54 | 48 49 53 20 46 49 4c 45 |!!!).//T|HIS FILE|
|000017e0| 20 49 53 20 55 4e 55 53 | 45 44 21 21 21 21 21 21 | IS UNUS|ED!!!!!!|
|000017f0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001800| 21 21 21 21 21 21 20 28 | 41 54 4d 21 21 21 21 21 |!!!!!! (|ATM!!!!!|
|00001810| 21 21 21 21 29 0a 2f 2f | 54 48 49 53 20 46 49 4c |!!!!).//|THIS FIL|
|00001820| 45 20 49 53 20 55 4e 55 | 53 45 44 21 21 21 21 21 |E IS UNU|SED!!!!!|
|00001830| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001840| 21 21 21 21 21 21 21 20 | 28 41 54 4d 21 21 21 21 |!!!!!!! |(ATM!!!!|
|00001850| 21 21 21 21 21 29 0a 2f | 2f 54 48 49 53 20 46 49 |!!!!!)./|/THIS FI|
|00001860| 4c 45 20 49 53 20 55 4e | 55 53 45 44 21 21 21 21 |LE IS UN|USED!!!!|
|00001870| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001880| 21 21 21 21 21 21 21 21 | 20 28 41 54 4d 21 21 21 |!!!!!!!!| (ATM!!!|
|00001890| 21 21 21 21 21 21 29 0a | 2f 2f 54 48 49 53 20 46 |!!!!!!).|//THIS F|
|000018a0| 49 4c 45 20 49 53 20 55 | 4e 55 53 45 44 21 21 21 |ILE IS U|NUSED!!!|
|000018b0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|000018c0| 21 21 21 21 21 21 21 21 | 21 20 28 41 54 4d 21 21 |!!!!!!!!|! (ATM!!|
|000018d0| 21 21 21 21 21 21 21 29 | 0a 2f 2f 54 48 49 53 20 |!!!!!!!)|.//THIS |
|000018e0| 46 49 4c 45 20 49 53 20 | 55 4e 55 53 45 44 21 21 |FILE IS |UNUSED!!|
|000018f0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001900| 21 21 21 21 21 21 21 21 | 21 21 20 28 41 54 4d 21 |!!!!!!!!|!! (ATM!|
|00001910| 21 21 21 21 21 21 21 21 | 29 0a 2f 2f 54 48 49 53 |!!!!!!!!|).//THIS|
|00001920| 20 46 49 4c 45 20 49 53 | 20 55 4e 55 53 45 44 21 | FILE IS| UNUSED!|
|00001930| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001940| 21 21 21 21 21 21 21 21 | 21 21 21 20 28 41 54 4d |!!!!!!!!|!!! (ATM|
|00001950| 21 21 21 21 21 21 21 21 | 21 29 0a 2f 2f 54 48 49 |!!!!!!!!|!).//THI|
|00001960| 53 20 46 49 4c 45 20 49 | 53 20 55 4e 55 53 45 44 |S FILE I|S UNUSED|
|00001970| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001980| 21 21 21 21 21 21 21 21 | 21 21 21 21 20 28 41 54 |!!!!!!!!|!!!! (AT|
|00001990| 4d 21 21 21 21 21 21 21 | 21 21 29 0a 2f 2f 54 48 |M!!!!!!!|!!).//TH|
|000019a0| 49 53 20 46 49 4c 45 20 | 49 53 20 55 4e 55 53 45 |IS FILE |IS UNUSE|
|000019b0| 44 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |D!!!!!!!|!!!!!!!!|
|000019c0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 20 28 41 |!!!!!!!!|!!!!! (A|
|000019d0| 54 4d 21 21 21 21 21 21 | 21 21 21 29 0a 2f 2f 54 |TM!!!!!!|!!!).//T|
|000019e0| 48 49 53 20 46 49 4c 45 | 20 49 53 20 55 4e 55 53 |HIS FILE| IS UNUS|
|000019f0| 45 44 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |ED!!!!!!|!!!!!!!!|
|00001a00| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 20 28 |!!!!!!!!|!!!!!! (|
|00001a10| 41 54 4d 21 21 21 21 21 | 21 21 21 21 29 0a 2f 2f |ATM!!!!!|!!!!).//|
|00001a20| 54 48 49 53 20 46 49 4c | 45 20 49 53 20 55 4e 55 |THIS FIL|E IS UNU|
|00001a30| 53 45 44 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |SED!!!!!|!!!!!!!!|
|00001a40| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 20 |!!!!!!!!|!!!!!!! |
|00001a50| 28 41 54 4d 21 21 21 21 | 21 21 21 21 21 29 0a 2f |(ATM!!!!|!!!!!)./|
|00001a60| 2f 54 48 49 53 20 46 49 | 4c 45 20 49 53 20 55 4e |/THIS FI|LE IS UN|
|00001a70| 55 53 45 44 21 21 21 21 | 21 21 21 21 21 21 21 21 |USED!!!!|!!!!!!!!|
|00001a80| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001a90| 20 28 41 54 4d 21 21 21 | 21 21 21 21 21 21 29 0a | (ATM!!!|!!!!!!).|
|00001aa0| 2f 2f 54 48 49 53 20 46 | 49 4c 45 20 49 53 20 55 |//THIS F|ILE IS U|
|00001ab0| 4e 55 53 45 44 21 21 21 | 21 21 21 21 21 21 21 21 |NUSED!!!|!!!!!!!!|
|00001ac0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001ad0| 21 20 28 41 54 4d 21 21 | 21 21 21 21 21 21 21 29 |! (ATM!!|!!!!!!!)|
|00001ae0| 0a 2f 2f 54 48 49 53 20 | 46 49 4c 45 20 49 53 20 |.//THIS |FILE IS |
|00001af0| 55 4e 55 53 45 44 21 21 | 21 21 21 21 21 21 21 21 |UNUSED!!|!!!!!!!!|
|00001b00| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001b10| 21 21 20 28 41 54 4d 21 | 21 21 21 21 21 21 21 21 |!! (ATM!|!!!!!!!!|
|00001b20| 29 0a 2f 2f 54 48 49 53 | 20 46 49 4c 45 20 49 53 |).//THIS| FILE IS|
|00001b30| 20 55 4e 55 53 45 44 21 | 21 21 21 21 21 21 21 21 | UNUSED!|!!!!!!!!|
|00001b40| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001b50| 21 21 21 20 28 41 54 4d | 21 21 21 21 21 21 21 21 |!!! (ATM|!!!!!!!!|
|00001b60| 21 29 0a 2f 2f 54 48 49 | 53 20 46 49 4c 45 20 49 |!).//THI|S FILE I|
|00001b70| 53 20 55 4e 55 53 45 44 | 21 21 21 21 21 21 21 21 |S UNUSED|!!!!!!!!|
|00001b80| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001b90| 21 21 21 21 20 28 41 54 | 4d 21 21 21 21 21 21 21 |!!!! (AT|M!!!!!!!|
|00001ba0| 21 21 29 0a 2f 2f 54 48 | 49 53 20 46 49 4c 45 20 |!!).//TH|IS FILE |
|00001bb0| 49 53 20 55 4e 55 53 45 | 44 21 21 21 21 21 21 21 |IS UNUSE|D!!!!!!!|
|00001bc0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001bd0| 21 21 21 21 21 20 28 41 | 54 4d 21 21 21 21 21 21 |!!!!! (A|TM!!!!!!|
|00001be0| 21 21 21 29 0a 2f 2f 54 | 48 49 53 20 46 49 4c 45 |!!!).//T|HIS FILE|
|00001bf0| 20 49 53 20 55 4e 55 53 | 45 44 21 21 21 21 21 21 | IS UNUS|ED!!!!!!|
|00001c00| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001c10| 21 21 21 21 21 21 20 28 | 41 54 4d 21 21 21 21 21 |!!!!!! (|ATM!!!!!|
|00001c20| 21 21 21 21 29 0a 2f 2f | 54 48 49 53 20 46 49 4c |!!!!).//|THIS FIL|
|00001c30| 45 20 49 53 20 55 4e 55 | 53 45 44 21 21 21 21 21 |E IS UNU|SED!!!!!|
|00001c40| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001c50| 21 21 21 21 21 21 21 20 | 28 41 54 4d 21 21 21 21 |!!!!!!! |(ATM!!!!|
|00001c60| 21 21 21 21 21 29 0a 2f | 2f 54 48 49 53 20 46 49 |!!!!!)./|/THIS FI|
|00001c70| 4c 45 20 49 53 20 55 4e | 55 53 45 44 21 21 21 21 |LE IS UN|USED!!!!|
|00001c80| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001c90| 21 21 21 21 21 21 21 21 | 20 28 41 54 4d 21 21 21 |!!!!!!!!| (ATM!!!|
|00001ca0| 21 21 21 21 21 21 29 0a | 2f 2f 54 48 49 53 20 46 |!!!!!!).|//THIS F|
|00001cb0| 49 4c 45 20 49 53 20 55 | 4e 55 53 45 44 21 21 21 |ILE IS U|NUSED!!!|
|00001cc0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|00001cd0| 21 21 21 21 21 21 21 21 | 21 20 28 41 54 4d 21 21 |!!!!!!!!|! (ATM!!|
|00001ce0| 21 21 21 21 21 21 21 29 | 0a 0a 2f 2a 0a 53 74 6f |!!!!!!!)|../*.Sto|
|00001cf0| 6c 65 6e 20 66 72 6f 6d | 20 68 74 74 70 73 3a 2f |len from| https:/|
|00001d00| 2f 64 65 76 65 6c 6f 70 | 65 72 2e 6d 6f 7a 69 6c |/develop|er.mozil|
|00001d10| 6c 61 2e 6f 72 67 2f 65 | 6e 2f 6e 73 49 43 72 79 |la.org/e|n/nsICry|
|00001d20| 70 74 6f 48 61 73 68 20 | 21 21 21 21 21 21 21 20 |ptoHash |!!!!!!! |
|00001d30| 73 75 70 65 72 21 21 21 | 21 21 21 21 21 21 21 21 |super!!!|!!!!!!!!|
|00001d40| 21 0a 49 27 76 65 20 6e | 6f 20 69 64 65 61 73 20 |!.I've n|o ideas |
|00001d50| 61 62 6f 75 74 20 68 6f | 77 20 74 68 69 73 20 66 |about ho|w this f|
|00001d60| 75 6e 63 74 69 6f 6e 20 | 77 6f 72 6b 73 2c 20 62 |unction |works, b|
|00001d70| 75 74 20 69 74 20 77 6f | 72 6b 73 20 76 65 72 79 |ut it wo|rks very|
|00001d80| 20 77 65 6c 6c 21 21 21 | 21 21 21 21 21 21 21 21 | well!!!|!!!!!!!!|
|00001d90| 21 0a 54 68 69 73 20 63 | 6f 64 65 20 69 73 20 6d |!.This c|ode is m|
|00001da0| 61 67 69 63 3a 0a 20 20 | 20 20 5b 74 6f 48 65 78 |agic:. | [toHex|
|00001db0| 53 74 72 69 6e 67 28 68 | 61 73 68 2e 63 68 61 72 |String(h|ash.char|
|00001dc0| 43 6f 64 65 41 74 28 69 | 29 29 20 66 6f 72 20 28 |CodeAt(i|)) for (|
|00001dd0| 69 20 69 6e 20 68 61 73 | 68 29 5d 2e 6a 6f 69 6e |i in has|h)].join|
|00001de0| 28 22 22 29 3b 0a 6f 6e | 65 20 6c 69 6e 65 2c 20 |("");.on|e line, |
|00001df0| 69 73 20 64 6f 69 6e 67 | 20 73 6f 20 6d 75 63 68 |is doing| so much|
|00001e00| 21 21 21 21 21 21 21 21 | 21 21 21 20 28 66 72 6f |!!!!!!!!|!!! (fro|
|00001e10| 6d 20 61 72 72 61 79 20 | 74 6f 20 68 65 78 20 73 |m array |to hex s|
|00001e20| 74 72 69 6e 67 2c 20 61 | 6e 64 20 65 76 65 72 79 |tring, a|nd every|
|00001e30| 74 68 69 6e 67 20 69 6e | 20 6f 6e 65 20 68 6f 70 |thing in| one hop|
|00001e40| 21 21 21 21 29 0a 2a 2f | 0a 0a 66 75 6e 63 74 69 |!!!!).*/|..functi|
|00001e50| 6f 6e 20 62 65 65 66 72 | 65 65 5f 68 61 73 68 5f |on beefr|ee_hash_|
|00001e60| 74 6f 48 65 78 53 74 72 | 69 6e 67 28 63 68 61 72 |toHexStr|ing(char|
|00001e70| 43 6f 64 65 29 20 2f 2f | 20 72 65 74 75 72 6e 20 |Code) //| return |
|00001e80| 74 68 65 20 74 77 6f 2d | 64 69 67 69 74 20 68 65 |the two-|digit he|
|00001e90| 78 61 64 65 63 69 6d 61 | 6c 20 63 6f 64 65 20 66 |xadecima|l code f|
|00001ea0| 6f 72 20 61 20 62 79 74 | 65 0a 7b 0a 20 20 20 20 |or a byt|e.{. |
|00001eb0| 72 65 74 75 72 6e 20 28 | 22 30 22 20 2b 20 63 68 |return (|"0" + ch|
|00001ec0| 61 72 43 6f 64 65 2e 74 | 6f 53 74 72 69 6e 67 28 |arCode.t|oString(|
|00001ed0| 31 36 29 29 2e 73 6c 69 | 63 65 28 2d 32 29 3b 0a |16)).sli|ce(-2);.|
|00001ee0| 7d 0a 0a 66 75 6e 63 74 | 69 6f 6e 20 62 65 65 66 |}..funct|ion beef|
|00001ef0| 72 65 65 5f 68 61 73 68 | 5f 6d 64 35 5f 73 74 72 |ree_hash|_md5_str|
|00001f00| 69 6e 67 28 73 74 72 29 | 0a 7b 0a 20 20 20 20 2f |ing(str)|.{. /|
|00001f10| 2f 76 61 72 20 73 74 72 | 20 3d 20 22 68 65 6c 6c |/var str| = "hell|
|00001f20| 6f 20 77 6f 72 6c 64 22 | 3b 0a 20 20 20 20 76 61 |o world"|;. va|
|00001f30| 72 20 63 6f 6e 76 65 72 | 74 65 72 20 3d 0a 20 20 |r conver|ter =. |
|00001f40| 20 20 20 20 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 63 | Comp|onents.c|
|00001f50| 6c 61 73 73 65 73 5b 22 | 40 6d 6f 7a 69 6c 6c 61 |lasses["|@mozilla|
|00001f60| 2e 6f 72 67 2f 69 6e 74 | 6c 2f 73 63 72 69 70 74 |.org/int|l/script|
|00001f70| 61 62 6c 65 75 6e 69 63 | 6f 64 65 63 6f 6e 76 65 |ableunic|odeconve|
|00001f80| 72 74 65 72 22 5d 2e 63 | 72 65 61 74 65 49 6e 73 |rter"].c|reateIns|
|00001f90| 74 61 6e 63 65 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |tance(Co|mponents|
|00001fa0| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 53 |.interfa|ces.nsIS|
|00001fb0| 63 72 69 70 74 61 62 6c | 65 55 6e 69 63 6f 64 65 |criptabl|eUnicode|
|00001fc0| 43 6f 6e 76 65 72 74 65 | 72 29 3b 0a 20 20 20 20 |Converte|r);. |
|00001fd0| 2f 2f 20 77 65 20 75 73 | 65 20 55 54 46 2d 38 20 |// we us|e UTF-8 |
|00001fe0| 68 65 72 65 2c 20 79 6f | 75 20 63 61 6e 20 63 68 |here, yo|u can ch|
|00001ff0| 6f 6f 73 65 20 6f 74 68 | 65 72 20 65 6e 63 6f 64 |oose oth|er encod|
|00002000| 69 6e 67 73 2e 0a 20 20 | 20 20 63 6f 6e 76 65 72 |ings.. | conver|
|00002010| 74 65 72 2e 63 68 61 72 | 73 65 74 20 3d 20 22 55 |ter.char|set = "U|
|00002020| 54 46 2d 38 22 3b 0a 20 | 20 20 20 2f 2f 20 72 65 |TF-8";. | // re|
|00002030| 73 75 6c 74 20 69 73 20 | 61 6e 20 6f 75 74 20 70 |sult is |an out p|
|00002040| 61 72 61 6d 65 74 65 72 | 2c 0a 20 20 20 20 2f 2f |arameter|,. //|
|00002050| 20 72 65 73 75 6c 74 2e | 76 61 6c 75 65 20 77 69 | result.|value wi|
|00002060| 6c 6c 20 63 6f 6e 74 61 | 69 6e 20 74 68 65 20 61 |ll conta|in the a|
|00002070| 72 72 61 79 20 6c 65 6e | 67 74 68 0a 20 20 20 20 |rray len|gth. |
|00002080| 76 61 72 20 72 65 73 75 | 6c 74 20 3d 20 7b 7d 3b |var resu|lt = {};|
|00002090| 0a 20 20 20 20 2f 2f 20 | 64 61 74 61 20 69 73 20 |. // |data is |
|000020a0| 61 6e 20 61 72 72 61 79 | 20 6f 66 20 62 79 74 65 |an array| of byte|
|000020b0| 73 0a 20 20 20 20 76 61 | 72 20 64 61 74 61 20 3d |s. va|r data =|
|000020c0| 20 63 6f 6e 76 65 72 74 | 65 72 2e 63 6f 6e 76 65 | convert|er.conve|
|000020d0| 72 74 54 6f 42 79 74 65 | 41 72 72 61 79 28 73 74 |rtToByte|Array(st|
|000020e0| 72 2c 20 72 65 73 75 6c | 74 29 3b 0a 20 20 20 20 |r, resul|t);. |
|000020f0| 76 61 72 20 63 68 20 3d | 20 43 6f 6d 70 6f 6e 65 |var ch =| Compone|
|00002100| 6e 74 73 2e 63 6c 61 73 | 73 65 73 5b 22 40 6d 6f |nts.clas|ses["@mo|
|00002110| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 73 65 63 75 72 69 |zilla.or|g/securi|
|00002120| 74 79 2f 68 61 73 68 3b | 31 22 5d 2e 63 72 65 61 |ty/hash;|1"].crea|
|00002130| 74 65 49 6e 73 74 61 6e | 63 65 28 43 6f 6d 70 6f |teInstan|ce(Compo|
|00002140| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00002150| 2e 6e 73 49 43 72 79 70 | 74 6f 48 61 73 68 29 3b |.nsICryp|toHash);|
|00002160| 0a 20 20 20 20 63 68 2e | 69 6e 69 74 28 63 68 2e |. ch.|init(ch.|
|00002170| 4d 44 35 29 3b 0a 20 20 | 20 20 63 68 2e 75 70 64 |MD5);. | ch.upd|
|00002180| 61 74 65 28 64 61 74 61 | 2c 20 64 61 74 61 2e 6c |ate(data|, data.l|
|00002190| 65 6e 67 74 68 29 3b 0a | 20 20 20 20 76 61 72 20 |ength);.| var |
|000021a0| 68 61 73 68 20 3d 20 63 | 68 2e 66 69 6e 69 73 68 |hash = c|h.finish|
|000021b0| 28 66 61 6c 73 65 29 3b | 0a 20 20 20 20 2f 2f 20 |(false);|. // |
|000021c0| 63 6f 6e 76 65 72 74 20 | 74 68 65 20 62 69 6e 61 |convert |the bina|
|000021d0| 72 79 20 68 61 73 68 20 | 64 61 74 61 20 74 6f 20 |ry hash |data to |
|000021e0| 61 20 68 65 78 20 73 74 | 72 69 6e 67 2e 0a 20 20 |a hex st|ring.. |
|000021f0| 20 20 76 61 72 20 73 20 | 3d 20 5b 62 65 65 66 72 | var s |= [beefr|
|00002200| 65 65 5f 68 61 73 68 5f | 74 6f 48 65 78 53 74 72 |ee_hash_|toHexStr|
|00002210| 69 6e 67 28 68 61 73 68 | 2e 63 68 61 72 43 6f 64 |ing(hash|.charCod|
|00002220| 65 41 74 28 69 29 29 20 | 66 6f 72 20 28 69 20 69 |eAt(i)) |for (i i|
|00002230| 6e 20 68 61 73 68 29 5d | 2e 6a 6f 69 6e 28 22 22 |n hash)]|.join(""|
|00002240| 29 3b 0a 20 20 20 20 2f | 2f 20 73 20 6e 6f 77 20 |);. /|/ s now |
|00002250| 63 6f 6e 74 61 69 6e 73 | 20 79 6f 75 72 20 68 61 |contains| your ha|
|00002260| 73 68 20 69 6e 20 68 65 | 78 3a 20 73 68 6f 75 6c |sh in he|x: shoul|
|00002270| 64 20 62 65 0a 20 20 20 | 20 2f 2f 20 35 65 62 36 |d be. | // 5eb6|
|00002280| 33 62 62 62 65 30 31 65 | 65 65 64 30 39 33 63 62 |3bbbe01e|eed093cb|
|00002290| 32 32 62 62 38 66 35 61 | 63 64 63 33 0a 20 20 20 |22bb8f5a|cdc3. |
|000022a0| 20 72 65 74 75 72 6e 20 | 73 3b 0a 7d 0a 0a 0a 0a | return |s;.}....|
|000022b0| 50 4b 03 04 0a 03 00 00 | 00 00 a6 74 39 3c 7e ab |PK......|...t9<~.|
|000022c0| 90 89 24 39 00 00 24 39 | 00 00 1f 00 00 00 63 6f |..$9..$9|......co|
|000022d0| 6e 74 65 6e 74 2f 62 65 | 65 66 72 65 65 2f 62 65 |ntent/be|efree/be|
|000022e0| 65 66 72 65 65 2e 6d 61 | 69 6e 2e 6a 73 2f 2a 0a |efree.ma|in.js/*.|
|000022f0| 20 20 20 20 32 30 30 39 | 20 2d 20 43 6f 70 79 72 | 2009| - Copyr|
|00002300| 69 67 68 74 20 62 79 20 | 42 65 65 20 3c 68 74 74 |ight by |Bee <htt|
|00002310| 70 3a 2f 2f 77 77 77 2e | 68 6f 6e 65 79 62 65 65 |p://www.|honeybee|
|00002320| 6e 65 74 2e 61 6c 74 65 | 72 76 69 73 74 61 2e 6f |net.alte|rvista.o|
|00002330| 72 67 3e 2e 0a 20 20 20 | 20 54 68 69 73 20 70 72 |rg>.. | This pr|
|00002340| 6f 67 72 61 6d 20 69 73 | 20 66 72 65 65 20 73 6f |ogram is| free so|
|00002350| 66 74 77 61 72 65 3b 20 | 79 6f 75 20 63 61 6e 20 |ftware; |you can |
|00002360| 72 65 64 69 73 74 72 69 | 62 75 74 65 20 69 74 20 |redistri|bute it |
|00002370| 61 6e 64 2f 6f 72 0a 20 | 20 20 20 6d 6f 64 69 66 |and/or. | modif|
|00002380| 79 20 69 74 20 75 6e 64 | 65 72 20 74 68 65 20 74 |y it und|er the t|
|00002390| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 47 4e 55 20 |erms of |the GNU |
|000023a0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|000023b0| 69 63 65 6e 73 65 0a 20 | 20 20 20 61 73 20 70 75 |icense. | as pu|
|000023c0| 62 6c 69 73 68 65 64 20 | 62 79 20 74 68 65 20 46 |blished |by the F|
|000023d0| 72 65 65 20 53 6f 66 74 | 77 61 72 65 20 46 6f 75 |ree Soft|ware Fou|
|000023e0| 6e 64 61 74 69 6f 6e 3b | 20 65 69 74 68 65 72 20 |ndation;| either |
|000023f0| 76 65 72 73 69 6f 6e 20 | 32 0a 20 20 20 20 6f 66 |version |2. of|
|00002400| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 2c 20 6f 72 | the Lic|ense, or|
|00002410| 20 28 61 74 20 79 6f 75 | 72 20 6f 70 74 69 6f 6e | (at you|r option|
|00002420| 29 20 61 6e 79 20 6c 61 | 74 65 72 20 76 65 72 73 |) any la|ter vers|
|00002430| 69 6f 6e 2e 0a 0a 20 20 | 20 20 54 68 69 73 20 70 |ion... | This p|
|00002440| 72 6f 67 72 61 6d 20 69 | 73 20 64 69 73 74 72 69 |rogram i|s distri|
|00002450| 62 75 74 65 64 20 69 6e | 20 74 68 65 20 68 6f 70 |buted in| the hop|
|00002460| 65 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 62 |e that i|t will b|
|00002470| 65 20 75 73 65 66 75 6c | 2c 0a 20 20 20 20 62 75 |e useful|,. bu|
|00002480| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00002490| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|000024a0| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|000024b0| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 20 20 20 | warrant|y of. |
|000024c0| 20 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 | MERCHAN|TABILITY|
|000024d0| 20 6f 72 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 | or FITN|ESS FOR |
|000024e0| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|000024f0| 50 4f 53 45 2e 20 20 53 | 65 65 20 74 68 65 0a 20 |POSE. S|ee the. |
|00002500| 20 20 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 | GNU G|eneral P|
|00002510| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 66 6f |ublic Li|cense fo|
|00002520| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0a |r more d|etails..|
|00002530| 0a 20 20 20 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |. You| should |
|00002540| 68 61 76 65 20 72 65 63 | 65 69 76 65 64 20 61 20 |have rec|eived a |
|00002550| 63 6f 70 79 20 6f 66 20 | 74 68 65 20 47 4e 55 20 |copy of |the GNU |
|00002560| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|00002570| 69 63 65 6e 73 65 0a 20 | 20 20 20 61 6c 6f 6e 67 |icense. | along|
|00002580| 20 77 69 74 68 20 74 68 | 69 73 20 70 72 6f 67 72 | with th|is progr|
|00002590| 61 6d 3b 20 69 66 20 6e | 6f 74 2c 20 77 72 69 74 |am; if n|ot, writ|
|000025a0| 65 20 74 6f 20 74 68 65 | 20 46 72 65 65 20 53 6f |e to the| Free So|
|000025b0| 66 74 77 61 72 65 0a 20 | 20 20 20 46 6f 75 6e 64 |ftware. | Found|
|000025c0| 61 74 69 6f 6e 2c 20 49 | 6e 63 2e 2c 20 35 31 20 |ation, I|nc., 51 |
|000025d0| 46 72 61 6e 6b 6c 69 6e | 20 53 74 72 65 65 74 2c |Franklin| Street,|
|000025e0| 20 46 69 66 74 68 20 46 | 6c 6f 6f 72 2c 20 42 6f | Fifth F|loor, Bo|
|000025f0| 73 74 6f 6e 2c 20 4d 41 | 20 30 32 31 31 30 2d 31 |ston, MA| 02110-1|
|00002600| 33 30 31 2c 20 55 53 41 | 2e 0a 2a 2f 0a 0a 2f 2a |301, USA|..*/../*|
|00002610| 20 49 74 20 74 6f 6f 6b | 20 6d 65 20 61 67 65 73 | It took| me ages|
|00002620| 20 74 6f 20 77 72 69 74 | 65 20 74 68 65 20 72 69 | to writ|e the ri|
|00002630| 67 68 74 20 52 65 67 45 | 78 70 73 2c 20 69 27 6d |ght RegE|xps, i'm|
|00002640| 20 73 69 6c 6c 20 75 6e | 73 75 72 65 20 69 66 20 | sill un|sure if |
|00002650| 74 68 65 79 27 72 65 20 | 31 30 30 25 20 6f 6b 21 |they're |100% ok!|
|00002660| 21 21 0a 62 74 77 2c 20 | 69 27 76 65 20 67 6f 74 |!!.btw, |i've got|
|00002670| 20 68 6f 77 20 74 68 65 | 79 20 77 6f 72 6b 21 21 | how the|y work!!|
|00002680| 21 21 21 21 21 21 21 21 | 21 21 20 61 6e 64 2c 20 |!!!!!!!!|!! and, |
|00002690| 61 73 20 74 68 65 20 62 | 65 73 74 2c 20 69 27 76 |as the b|est, i'v|
|000026a0| 65 20 67 6f 74 20 74 68 | 65 79 20 77 6f 72 6b 21 |e got th|ey work!|
|000026b0| 21 21 21 21 21 0a 2a 2f | 0a 0a 0a 0a 66 75 6e 63 |!!!!!.*/|....func|
|000026c0| 74 69 6f 6e 20 62 65 65 | 66 72 65 65 5f 72 65 70 |tion bee|free_rep|
|000026d0| 6c 61 63 65 28 64 6f 63 | 2c 20 6c 69 6e 6b 2c 20 |lace(doc|, link, |
|000026e0| 68 61 6e 64 6c 65 72 5f | 69 6e 64 65 78 2c 20 68 |handler_|index, h|
|000026f0| 72 65 66 2c 20 61 64 64 | 72 65 73 73 29 0a 7b 0a |ref, add|ress).{.|
|00002700| 20 20 20 20 76 61 72 20 | 73 74 61 63 6b 20 3d 20 | var |stack = |
|00002710| 6e 65 77 20 41 72 72 61 | 79 28 29 3b 0a 20 20 20 |new Arra|y();. |
|00002720| 20 76 61 72 20 72 65 63 | 75 72 73 69 6f 6e 73 5f | var rec|ursions_|
|00002730| 6d 61 78 20 3d 20 62 65 | 65 66 72 65 65 5f 77 65 |max = be|efree_we|
|00002740| 62 73 69 74 65 5f 67 65 | 74 5f 69 6e 66 6f 28 68 |bsite_ge|t_info(h|
|00002750| 61 6e 64 6c 65 72 5f 69 | 6e 64 65 78 2c 20 22 6c |andler_i|ndex, "l|
|00002760| 69 6e 6b 73 2e 72 65 63 | 75 72 73 69 6f 6e 22 29 |inks.rec|ursion")|
|00002770| 20 3f 20 31 32 37 20 3a | 20 31 3b 0a 20 20 20 20 | ? 127 :| 1;. |
|00002780| 76 61 72 20 74 6d 70 20 | 3d 20 68 72 65 66 3b 0a |var tmp |= href;.|
|00002790| 20 20 20 20 66 6f 72 28 | 76 61 72 20 72 65 63 75 | for(|var recu|
|000027a0| 72 73 69 6f 6e 73 20 3d | 20 30 3b 20 72 65 63 75 |rsions =| 0; recu|
|000027b0| 72 73 69 6f 6e 73 20 3c | 20 72 65 63 75 72 73 69 |rsions <| recursi|
|000027c0| 6f 6e 73 5f 6d 61 78 3b | 20 72 65 63 75 72 73 69 |ons_max;| recursi|
|000027d0| 6f 6e 73 2b 2b 29 0a 20 | 20 20 20 7b 0a 20 20 20 |ons++). | {. |
|000027e0| 20 20 20 20 20 73 74 61 | 63 6b 5b 22 61 64 64 72 | sta|ck["addr|
|000027f0| 65 73 73 22 5d 20 3d 20 | 68 72 65 66 3b 0a 20 20 |ess"] = |href;. |
|00002800| 20 20 20 20 20 20 73 74 | 61 63 6b 5b 22 63 75 72 | st|ack["cur|
|00002810| 72 65 6e 74 5f 70 61 67 | 65 22 5d 20 3d 20 61 64 |rent_pag|e"] = ad|
|00002820| 64 72 65 73 73 3b 0a 20 | 20 20 20 20 20 20 20 68 |dress;. | h|
|00002830| 72 65 66 20 3d 20 62 65 | 65 66 72 65 65 5f 77 65 |ref = be|efree_we|
|00002840| 62 73 69 74 65 5f 67 65 | 74 5f 69 6e 66 6f 28 68 |bsite_ge|t_info(h|
|00002850| 61 6e 64 6c 65 72 5f 69 | 6e 64 65 78 2c 20 22 6c |andler_i|ndex, "l|
|00002860| 69 6e 6b 73 2e 66 75 6e | 63 74 69 6f 6e 2e 72 65 |inks.fun|ction.re|
|00002870| 70 6c 61 63 65 22 29 28 | 68 61 6e 64 6c 65 72 5f |place")(|handler_|
|00002880| 69 6e 64 65 78 2c 20 73 | 74 61 63 6b 29 3b 0a 20 |index, s|tack);. |
|00002890| 20 20 20 20 20 20 20 69 | 66 28 68 72 65 66 20 3d | i|f(href =|
|000028a0| 3d 20 74 6d 70 29 0a 20 | 20 20 20 20 20 20 20 20 |= tmp). | |
|000028b0| 20 20 20 62 72 65 61 6b | 3b 0a 20 20 20 20 20 20 | break|;. |
|000028c0| 20 20 74 6d 70 20 3d 20 | 68 72 65 66 3b 0a 20 20 | tmp = |href;. |
|000028d0| 20 20 7d 0a 20 20 20 20 | 72 65 74 75 72 6e 20 68 | }. |return h|
|000028e0| 72 65 66 3b 0a 7d 0a 0a | 66 75 6e 63 74 69 6f 6e |ref;.}..|function|
|000028f0| 20 62 65 65 66 72 65 65 | 5f 68 61 6e 64 6c 65 72 | beefree|_handler|
|00002900| 5f 66 69 6e 64 5f 66 72 | 6f 6d 5f 75 72 6c 28 61 |_find_fr|om_url(a|
|00002910| 64 64 72 65 73 73 2c 20 | 69 6e 63 6c 75 64 65 5f |ddress, |include_|
|00002920| 64 69 73 61 62 6c 65 64 | 5f 65 6e 67 69 6e 65 73 |disabled|_engines|
|00002930| 20 2f 2a 20 3d 20 66 61 | 6c 73 65 2a 2f 29 0a 7b | /* = fa|lse*/).{|
|00002940| 0a 20 20 20 20 76 61 72 | 20 73 74 61 63 6b 20 3d |. var| stack =|
|00002950| 20 6e 65 77 20 41 72 72 | 61 79 28 29 3b 0a 20 20 | new Arr|ay();. |
|00002960| 20 20 76 61 72 20 69 20 | 3d 20 62 65 65 66 72 65 | var i |= beefre|
|00002970| 65 5f 77 65 62 73 69 74 | 65 5f 66 65 74 63 68 5f |e_websit|e_fetch_|
|00002980| 69 6e 69 74 28 29 3b 0a | 20 20 20 20 77 68 69 6c |init();.| whil|
|00002990| 65 28 62 65 65 66 72 65 | 65 5f 77 65 62 73 69 74 |e(beefre|e_websit|
|000029a0| 65 5f 66 65 74 63 68 5f | 74 65 73 74 28 2b 2b 69 |e_fetch_|test(++i|
|000029b0| 29 29 0a 20 20 20 20 7b | 0a 20 20 20 20 20 20 20 |)). {|. |
|000029c0| 20 73 74 61 63 6b 5b 22 | 61 64 64 72 65 73 73 22 | stack["|address"|
|000029d0| 5d 20 3d 20 61 64 64 72 | 65 73 73 3b 0a 20 20 20 |] = addr|ess;. |
|000029e0| 20 20 20 20 20 69 66 28 | 0a 20 20 20 20 20 20 20 | if(|. |
|000029f0| 20 20 20 20 20 20 20 20 | 20 28 62 65 65 66 72 65 | | (beefre|
|00002a00| 65 5f 77 65 62 73 69 74 | 65 5f 67 65 74 5f 69 6e |e_websit|e_get_in|
|00002a10| 66 6f 28 69 2c 20 22 65 | 6e 61 62 6c 65 64 22 29 |fo(i, "e|nabled")|
|00002a20| 20 7c 7c 20 69 6e 63 6c | 75 64 65 5f 64 69 73 61 | || incl|ude_disa|
|00002a30| 62 6c 65 64 5f 65 6e 67 | 69 6e 65 73 29 20 26 26 |bled_eng|ines) &&|
|00002a40| 20 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00002a50| 20 20 28 62 65 65 66 72 | 65 65 5f 77 65 62 73 69 | (beefr|ee_websi|
|00002a60| 74 65 5f 67 65 74 5f 69 | 6e 66 6f 28 69 2c 20 22 |te_get_i|nfo(i, "|
|00002a70| 74 65 73 74 2e 64 6f 6d | 61 69 6e 22 29 28 69 2c |test.dom|ain")(i,|
|00002a80| 20 73 74 61 63 6b 29 29 | 0a 20 20 20 20 20 20 20 | stack))|. |
|00002a90| 20 29 0a 20 20 20 20 20 | 20 20 20 7b 0a 20 20 20 | ). | {. |
|00002aa0| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|00002ab0| 69 3b 0a 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 |i;. | }. |
|00002ac0| 20 7d 0a 20 20 20 20 72 | 65 74 75 72 6e 20 2d 31 | }. r|eturn -1|
|00002ad0| 3b 0a 7d 0a 0a 66 75 6e | 63 74 69 6f 6e 20 62 65 |;.}..fun|ction be|
|00002ae0| 65 66 72 65 65 5f 68 61 | 6e 64 6c 65 72 5f 66 69 |efree_ha|ndler_fi|
|00002af0| 6e 64 5f 66 72 6f 6d 5f | 68 6f 73 74 28 68 6f 73 |nd_from_|host(hos|
|00002b00| 74 6e 61 6d 65 2c 20 69 | 6e 63 6c 75 64 65 5f 64 |tname, i|nclude_d|
|00002b10| 69 73 61 62 6c 65 64 5f | 65 6e 67 69 6e 65 73 20 |isabled_|engines |
|00002b20| 2f 2a 20 3d 20 66 61 6c | 73 65 2a 2f 29 0a 7b 0a |/* = fal|se*/).{.|
|00002b30| 20 20 20 20 76 61 72 20 | 73 74 61 63 6b 20 3d 20 | var |stack = |
|00002b40| 6e 65 77 20 41 72 72 61 | 79 28 29 3b 0a 20 20 20 |new Arra|y();. |
|00002b50| 20 76 61 72 20 69 20 3d | 20 62 65 65 66 72 65 65 | var i =| beefree|
|00002b60| 5f 77 65 62 73 69 74 65 | 5f 66 65 74 63 68 5f 69 |_website|_fetch_i|
|00002b70| 6e 69 74 28 29 3b 0a 20 | 20 20 20 77 68 69 6c 65 |nit();. | while|
|00002b80| 28 62 65 65 66 72 65 65 | 5f 77 65 62 73 69 74 65 |(beefree|_website|
|00002b90| 5f 66 65 74 63 68 5f 74 | 65 73 74 28 2b 2b 69 29 |_fetch_t|est(++i)|
|00002ba0| 29 0a 20 20 20 20 7b 0a | 20 20 20 20 20 20 20 20 |). {.| |
|00002bb0| 73 74 61 63 6b 5b 22 68 | 6f 73 74 6e 61 6d 65 22 |stack["h|ostname"|
|00002bc0| 5d 20 3d 20 68 6f 73 74 | 6e 61 6d 65 3b 0a 20 20 |] = host|name;. |
|00002bd0| 20 20 20 20 20 20 69 66 | 28 0a 20 20 20 20 20 20 | if|(. |
|00002be0| 20 20 20 20 20 20 20 20 | 20 20 28 62 65 65 66 72 | | (beefr|
|00002bf0| 65 65 5f 77 65 62 73 69 | 74 65 5f 67 65 74 5f 69 |ee_websi|te_get_i|
|00002c00| 6e 66 6f 28 69 2c 20 22 | 65 6e 61 62 6c 65 64 22 |nfo(i, "|enabled"|
|00002c10| 29 20 7c 7c 20 69 6e 63 | 6c 75 64 65 5f 64 69 73 |) || inc|lude_dis|
|00002c20| 61 62 6c 65 64 5f 65 6e | 67 69 6e 65 73 29 20 26 |abled_en|gines) &|
|00002c30| 26 20 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |& . | |
|00002c40| 20 20 20 28 62 65 65 66 | 72 65 65 5f 77 65 62 73 | (beef|ree_webs|
|00002c50| 69 74 65 5f 67 65 74 5f | 69 6e 66 6f 28 69 2c 20 |ite_get_|info(i, |
|00002c60| 22 74 65 73 74 2e 68 6f | 73 74 22 29 28 69 2c 20 |"test.ho|st")(i, |
|00002c70| 73 74 61 63 6b 29 29 0a | 20 20 20 20 20 20 20 20 |stack)).| |
|00002c80| 29 0a 20 20 20 20 20 20 | 20 20 7b 0a 20 20 20 20 |). | {. |
|00002c90| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 69 | |return i|
|00002ca0| 3b 0a 20 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 |;. | }. |
|00002cb0| 7d 0a 20 20 20 20 72 65 | 74 75 72 6e 20 2d 31 3b |}. re|turn -1;|
|00002cc0| 0a 7d 0a 0a 2f 2a 0a 68 | 74 74 70 73 3a 2f 2f 64 |.}../*.h|ttps://d|
|00002cd0| 65 76 65 6c 6f 70 65 72 | 2e 6d 6f 7a 69 6c 6c 61 |eveloper|.mozilla|
|00002ce0| 2e 6f 72 67 2f 65 6e 2f | 43 72 65 61 74 69 6e 67 |.org/en/|Creating|
|00002cf0| 5f 53 61 6e 64 62 6f 78 | 65 64 5f 48 54 54 50 5f |_Sandbox|ed_HTTP_|
|00002d00| 43 6f 6e 6e 65 63 74 69 | 6f 6e 73 23 48 54 54 50 |Connecti|ons#HTTP|
|00002d10| 5f 6e 6f 74 69 66 69 63 | 61 74 69 6f 6e 73 0a 68 |_notific|ations.h|
|00002d20| 74 74 70 73 3a 2f 2f 64 | 65 76 65 6c 6f 70 65 72 |ttps://d|eveloper|
|00002d30| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 65 6e 2f |.mozilla|.org/en/|
|00002d40| 45 78 74 65 6e 73 69 6f | 6e 73 2f 46 69 72 65 66 |Extensio|ns/Firef|
|00002d50| 6f 78 0a 68 74 74 70 73 | 3a 2f 2f 64 65 76 65 6c |ox.https|://devel|
|00002d60| 6f 70 65 72 2e 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |oper.moz|illa.org|
|00002d70| 2f 65 6e 2f 43 6f 64 65 | 5f 73 6e 69 70 70 65 74 |/en/Code|_snippet|
|00002d80| 73 0a 0a 2a 2f 0a 0a 66 | 75 6e 63 74 69 6f 6e 20 |s..*/..f|unction |
|00002d90| 62 65 65 66 72 65 65 5f | 75 70 64 61 74 65 5f 74 |beefree_|update_t|
|00002da0| 69 6d 65 28 29 0a 7b 0a | 20 20 20 20 76 61 72 20 |ime().{.| var |
|00002db0| 64 20 3d 20 6e 65 77 20 | 44 61 74 65 28 29 3b 0a |d = new |Date();.|
|00002dc0| 20 20 20 20 72 65 74 75 | 72 6e 20 64 2e 67 65 74 | retu|rn d.get|
|00002dd0| 54 69 6d 65 28 29 3b 2f | 2f 6d 73 0a 7d 0a 0a 66 |Time();/|/ms.}..f|
|00002de0| 75 6e 63 74 69 6f 6e 20 | 62 65 65 66 72 65 65 5f |unction |beefree_|
|00002df0| 75 70 64 61 74 65 5f 74 | 69 6d 65 5f 69 73 5f 76 |update_t|ime_is_v|
|00002e00| 61 6c 69 64 28 6f 6c 64 | 5f 74 69 6d 65 2c 20 64 |alid(old|_time, d|
|00002e10| 65 6c 74 61 20 2f 2a 20 | 6d 73 20 2a 2f 29 0a 7b |elta /* |ms */).{|
|00002e20| 0a 20 20 20 20 72 65 74 | 75 72 6e 20 28 6f 6c 64 |. ret|urn (old|
|00002e30| 5f 74 69 6d 65 20 2b 20 | 64 65 6c 74 61 29 20 3e |_time + |delta) >|
|00002e40| 3d 20 62 65 65 66 72 65 | 65 5f 75 70 64 61 74 65 |= beefre|e_update|
|00002e50| 5f 74 69 6d 65 28 29 3b | 0a 7d 0a 0a 66 75 6e 63 |_time();|.}..func|
|00002e60| 74 69 6f 6e 20 62 65 65 | 66 72 65 65 5f 65 78 65 |tion bee|free_exe|
|00002e70| 63 75 74 65 28 64 6f 63 | 2c 20 6c 69 6e 6b 29 0a |cute(doc|, link).|
|00002e80| 7b 0a 20 20 20 20 76 61 | 72 20 77 61 73 5f 72 65 |{. va|r was_re|
|00002e90| 70 6c 61 63 65 64 20 3d | 20 6c 69 6e 6b 2e 67 65 |placed =| link.ge|
|00002ea0| 74 55 73 65 72 44 61 74 | 61 28 22 62 65 65 66 72 |tUserDat|a("beefr|
|00002eb0| 65 65 2d 66 6c 61 67 2d | 77 6f 72 6b 22 29 20 21 |ee-flag-|work") !|
|00002ec0| 3d 20 6e 75 6c 6c 20 26 | 26 20 6c 69 6e 6b 2e 67 |= null &|& link.g|
|00002ed0| 65 74 55 73 65 72 44 61 | 74 61 28 22 62 65 65 66 |etUserDa|ta("beef|
|00002ee0| 72 65 65 2d 66 6c 61 67 | 2d 77 6f 72 6b 22 29 20 |ree-flag|-work") |
|00002ef0| 3d 3d 20 22 52 45 50 4c | 41 43 45 44 22 3b 0a 20 |== "REPL|ACED";. |
|00002f00| 20 20 20 2f 2f 0a 20 20 | 20 20 6c 69 6e 6b 2e 73 | //. | link.s|
|00002f10| 65 74 55 73 65 72 44 61 | 74 61 28 22 62 65 65 66 |etUserDa|ta("beef|
|00002f20| 72 65 65 2d 66 6c 61 67 | 22 2c 20 22 48 4f 4e 45 |ree-flag|", "HONE|
|00002f30| 59 42 45 45 22 2c 20 6e | 75 6c 6c 29 3b 0a 20 20 |YBEE", n|ull);. |
|00002f40| 20 20 6c 69 6e 6b 2e 73 | 65 74 55 73 65 72 44 61 | link.s|etUserDa|
|00002f50| 74 61 28 22 62 65 65 66 | 72 65 65 2d 66 6c 61 67 |ta("beef|ree-flag|
|00002f60| 2d 77 6f 72 6b 22 2c 20 | 22 22 2c 20 6e 75 6c 6c |-work", |"", null|
|00002f70| 29 3b 0a 20 20 20 20 6c | 69 6e 6b 2e 73 65 74 55 |);. l|ink.setU|
|00002f80| 73 65 72 44 61 74 61 28 | 22 62 65 65 66 72 65 65 |serData(|"beefree|
|00002f90| 2d 66 6c 61 67 2d 6c 61 | 73 74 2d 75 70 64 61 74 |-flag-la|st-updat|
|00002fa0| 65 22 2c 20 62 65 65 66 | 72 65 65 5f 75 70 64 61 |e", beef|ree_upda|
|00002fb0| 74 65 5f 74 69 6d 65 28 | 29 2c 20 6e 75 6c 6c 29 |te_time(|), null)|
|00002fc0| 3b 0a 20 20 20 20 2f 2f | 0a 20 20 20 20 76 61 72 |;. //|. var|
|00002fd0| 20 61 64 64 72 65 73 73 | 20 3d 20 64 6f 63 2e 6c | address| = doc.l|
|00002fe0| 6f 63 61 74 69 6f 6e 2e | 68 72 65 66 3b 0a 20 20 |ocation.|href;. |
|00002ff0| 20 20 69 66 28 21 62 65 | 65 66 72 65 65 5f 69 73 | if(!be|efree_is|
|00003000| 5f 70 72 6f 74 6f 63 6f | 6c 5f 77 65 62 28 61 64 |_protoco|l_web(ad|
|00003010| 64 72 65 73 73 29 29 0a | 20 20 20 20 7b 0a 20 20 |dress)).| {. |
|00003020| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 66 61 6c | re|turn fal|
|00003030| 73 65 3b 0a 20 20 20 20 | 7d 0a 20 20 20 20 2f 2f |se;. |}. //|
|00003040| 0a 20 20 20 20 76 61 72 | 20 69 20 3d 20 30 3b 0a |. var| i = 0;.|
|00003050| 20 20 20 20 76 61 72 20 | 68 61 6e 64 6c 65 72 5f | var |handler_|
|00003060| 69 6e 64 65 78 20 3d 20 | 62 65 65 66 72 65 65 5f |index = |beefree_|
|00003070| 68 61 6e 64 6c 65 72 5f | 66 69 6e 64 5f 66 72 6f |handler_|find_fro|
|00003080| 6d 5f 75 72 6c 28 61 64 | 64 72 65 73 73 2c 20 66 |m_url(ad|dress, f|
|00003090| 61 6c 73 65 29 3b 0a 20 | 20 20 20 69 66 28 21 28 |alse);. | if(!(|
|000030a0| 68 61 6e 64 6c 65 72 5f | 69 6e 64 65 78 20 3e 3d |handler_|index >=|
|000030b0| 20 30 29 29 0a 20 20 20 | 20 7b 0a 20 20 20 20 20 | 0)). | {. |
|000030c0| 20 20 20 76 61 72 20 69 | 20 3d 20 62 65 65 66 72 | var i| = beefr|
|000030d0| 65 65 5f 77 65 62 73 69 | 74 65 5f 66 65 74 63 68 |ee_websi|te_fetch|
|000030e0| 5f 69 6e 69 74 28 29 3b | 0a 20 20 20 20 20 20 20 |_init();|. |
|000030f0| 20 77 68 69 6c 65 28 62 | 65 65 66 72 65 65 5f 77 | while(b|eefree_w|
|00003100| 65 62 73 69 74 65 5f 66 | 65 74 63 68 5f 74 65 73 |ebsite_f|etch_tes|
|00003110| 74 28 2b 2b 69 29 29 0a | 20 20 20 20 20 20 20 20 |t(++i)).| |
|00003120| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |{. | if|
|00003130| 28 62 65 65 66 72 65 65 | 5f 77 65 62 73 69 74 65 |(beefree|_website|
|00003140| 5f 67 65 74 5f 69 6e 66 | 6f 28 69 2c 20 22 65 6e |_get_inf|o(i, "en|
|00003150| 61 62 6c 65 64 22 29 20 | 26 26 20 62 65 65 66 72 |abled") |&& beefr|
|00003160| 65 65 5f 77 65 62 73 69 | 74 65 5f 67 65 74 5f 69 |ee_websi|te_get_i|
|00003170| 6e 66 6f 28 69 2c 20 22 | 6c 69 6e 6b 73 2e 69 67 |nfo(i, "|links.ig|
|00003180| 6e 6f 72 65 64 6f 6d 61 | 69 6e 22 29 29 0a 20 20 |noredoma|in")). |
|00003190| 20 20 20 20 20 20 20 20 | 20 20 7b 0a 20 20 20 20 | | {. |
|000031a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 68 61 6e 64 | | hand|
|000031b0| 6c 65 72 5f 69 6e 64 65 | 78 20 3d 20 69 3b 0a 20 |ler_inde|x = i;. |
|000031c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|000031d0| 72 65 61 6b 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |reak;. | |
|000031e0| 20 20 7d 0a 20 20 20 20 | 20 20 20 20 7d 0a 20 20 | }. | }. |
|000031f0| 20 20 20 20 20 20 69 66 | 28 21 28 68 61 6e 64 6c | if|(!(handl|
|00003200| 65 72 5f 69 6e 64 65 78 | 20 3e 3d 20 30 29 29 0a |er_index| >= 0)).|
|00003210| 20 20 20 20 20 20 20 20 | 7b 0a 20 20 20 20 20 20 | |{. |
|00003220| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 66 61 6c | re|turn fal|
|00003230| 73 65 3b 0a 20 20 20 20 | 20 20 20 20 7d 0a 20 20 |se;. | }. |
|00003240| 20 20 7d 0a 20 20 20 20 | 2f 2f 0a 20 20 20 20 69 | }. |//. i|
|00003250| 66 28 62 65 65 66 72 65 | 65 5f 77 65 62 73 69 74 |f(beefre|e_websit|
|00003260| 65 5f 67 65 74 5f 69 6e | 66 6f 28 68 61 6e 64 6c |e_get_in|fo(handl|
|00003270| 65 72 5f 69 6e 64 65 78 | 2c 20 22 6c 69 6e 6b 73 |er_index|, "links|
|00003280| 2e 72 65 6d 6f 76 65 22 | 29 20 3d 3d 20 66 61 6c |.remove"|) == fal|
|00003290| 73 65 29 0a 20 20 20 20 | 7b 0a 20 20 20 20 20 20 |se). |{. |
|000032a0| 20 20 2f 2f 49 66 20 42 | 45 45 46 52 45 45 20 69 | //If B|EEFREE i|
|000032b0| 73 20 64 69 73 61 62 65 | 64 21 21 21 21 21 21 21 |s disabe|d!!!!!!!|
|000032c0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|000032d0| 21 21 21 21 21 21 21 21 | 21 21 21 21 21 21 21 21 |!!!!!!!!|!!!!!!!!|
|000032e0| 21 21 21 21 21 21 21 21 | 21 21 21 0a 20 20 20 20 |!!!!!!!!|!!!. |
|000032f0| 20 20 20 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 | retu|rn false|
|00003300| 3b 0a 20 20 20 20 7d 0a | 20 20 20 20 2f 2f 0a 20 |;. }.| //. |
|00003310| 20 20 20 76 61 72 20 6c | 69 6e 6b 5f 68 72 65 66 | var l|ink_href|
|00003320| 20 3d 20 6c 69 6e 6b 2e | 68 61 73 41 74 74 72 69 | = link.|hasAttri|
|00003330| 62 75 74 65 28 22 68 72 | 65 66 22 29 20 3f 20 6c |bute("hr|ef") ? l|
|00003340| 69 6e 6b 2e 67 65 74 41 | 74 74 72 69 62 75 74 65 |ink.getA|ttribute|
|00003350| 28 22 68 72 65 66 22 29 | 20 3a 20 22 22 3b 0a 20 |("href")| : "";. |
|00003360| 20 20 20 76 61 72 20 6c | 69 6e 6b 5f 74 69 74 6c | var l|ink_titl|
|00003370| 65 20 3d 20 6c 69 6e 6b | 2e 68 61 73 41 74 74 72 |e = link|.hasAttr|
|00003380| 69 62 75 74 65 28 22 74 | 69 74 6c 65 22 29 20 3f |ibute("t|itle") ?|
|00003390| 20 6c 69 6e 6b 2e 67 65 | 74 41 74 74 72 69 62 75 | link.ge|tAttribu|
|000033a0| 74 65 28 22 74 69 74 6c | 65 22 29 20 3a 20 22 22 |te("titl|e") : ""|
|000033b0| 3b 0a 20 20 20 20 69 66 | 28 77 61 73 5f 72 65 70 |;. if|(was_rep|
|000033c0| 6c 61 63 65 64 29 0a 20 | 20 20 20 7b 0a 20 20 20 |laced). | {. |
|000033d0| 20 20 20 20 20 6c 69 6e | 6b 5f 68 72 65 66 20 3d | lin|k_href =|
|000033e0| 20 6c 69 6e 6b 2e 67 65 | 74 55 73 65 72 44 61 74 | link.ge|tUserDat|
|000033f0| 61 28 22 62 65 65 66 72 | 65 65 2d 68 72 65 66 2d |a("beefr|ee-href-|
|00003400| 6f 72 69 67 69 6e 61 6c | 22 29 3b 0a 20 20 20 20 |original|");. |
|00003410| 20 20 20 20 6c 69 6e 6b | 5f 74 69 74 6c 65 20 3d | link|_title =|
|00003420| 20 6c 69 6e 6b 2e 67 65 | 74 55 73 65 72 44 61 74 | link.ge|tUserDat|
|00003430| 61 28 22 62 65 65 66 72 | 65 65 2d 74 69 74 6c 65 |a("beefr|ee-title|
|00003440| 22 29 3b 0a 20 20 20 20 | 7d 0a 20 20 20 20 76 61 |");. |}. va|
|00003450| 72 20 61 64 64 72 65 73 | 73 5f 75 72 69 5f 6f 62 |r addres|s_uri_ob|
|00003460| 6a 65 63 74 20 3d 20 62 | 65 65 66 72 65 65 5f 6d |ject = b|eefree_m|
|00003470| 61 6b 65 5f 75 72 69 5f | 6f 62 6a 65 63 74 28 61 |ake_uri_|object(a|
|00003480| 64 64 72 65 73 73 2c 20 | 6e 75 6c 6c 2c 20 6e 75 |ddress, |null, nu|
|00003490| 6c 6c 29 3b 0a 20 20 20 | 20 6c 69 6e 6b 5f 68 72 |ll);. | link_hr|
|000034a0| 65 66 20 3d 20 61 64 64 | 72 65 73 73 5f 75 72 69 |ef = add|ress_uri|
|000034b0| 5f 6f 62 6a 65 63 74 2e | 72 65 73 6f 6c 76 65 28 |_object.|resolve(|
|000034c0| 6c 69 6e 6b 5f 68 72 65 | 66 29 3b 0a 20 20 20 20 |link_hre|f);. |
|000034d0| 76 61 72 20 6c 69 6e 6b | 5f 68 72 65 66 5f 6f 72 |var link|_href_or|
|000034e0| 69 67 69 6e 61 6c 20 3d | 20 6c 69 6e 6b 5f 68 72 |iginal =| link_hr|
|000034f0| 65 66 3b 0a 20 20 20 20 | 2f 2f 0a 20 20 20 20 76 |ef;. |//. v|
|00003500| 61 72 20 74 72 61 63 6b | 65 72 73 20 3d 20 22 22 |ar track|ers = ""|
|00003510| 3b 0a 20 20 20 20 74 72 | 79 0a 20 20 20 20 7b 0a |;. tr|y. {.|
|00003520| 20 20 20 20 20 20 20 20 | 74 72 61 63 6b 65 72 73 | |trackers|
|00003530| 20 3d 20 62 65 65 66 72 | 65 65 5f 77 65 62 73 69 | = beefr|ee_websi|
|00003540| 74 65 5f 67 65 74 5f 69 | 6e 66 6f 28 68 61 6e 64 |te_get_i|nfo(hand|
|00003550| 6c 65 72 5f 69 6e 64 65 | 78 2c 20 22 6e 61 6d 65 |ler_inde|x, "name|
|00003560| 22 29 3b 0a 20 20 20 20 | 20 20 20 20 76 61 72 20 |");. | var |
|00003570| 73 74 61 63 6b 20 3d 20 | 6e 65 77 20 41 72 72 61 |stack = |new Arra|
|00003580| 79 28 29 3b 0a 20 20 20 | 20 20 20 20 20 73 74 61 |y();. | sta|
|00003590| 63 6b 5b 22 61 64 64 72 | 65 73 73 22 5d 20 3d 20 |ck["addr|ess"] = |
|000035a0| 6c 69 6e 6b 5f 68 72 65 | 66 3b 0a 20 20 20 20 20 |link_hre|f;. |
|000035b0| 20 20 20 73 74 61 63 6b | 5b 22 63 75 72 72 65 6e | stack|["curren|
|000035c0| 74 5f 70 61 67 65 22 5d | 20 3d 20 61 64 64 72 65 |t_page"]| = addre|
|000035d0| 73 73 3b 0a 20 20 20 20 | 20 20 20 20 69 66 28 21 |ss;. | if(!|
|000035e0| 28 62 65 65 66 72 65 65 | 5f 77 65 62 73 69 74 65 |(beefree|_website|
|000035f0| 5f 67 65 74 5f 69 6e 66 | 6f 28 68 61 6e 64 6c 65 |_get_inf|o(handle|
|00003600| 72 5f 69 6e 64 65 78 2c | 20 22 6c 69 6e 6b 73 2e |r_index,| "links.|
|00003610| 66 75 6e 63 74 69 6f 6e | 2e 61 63 63 65 70 74 22 |function|.accept"|
|00003620| 29 28 68 61 6e 64 6c 65 | 72 5f 69 6e 64 65 78 2c |)(handle|r_index,|
|00003630| 20 73 74 61 63 6b 29 29 | 29 0a 20 20 20 20 20 20 | stack))|). |
|00003640| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 66 61 6c | re|turn fal|
|00003650| 73 65 3b 0a 20 20 20 20 | 20 20 20 20 6c 69 6e 6b |se;. | link|
|00003660| 5f 68 72 65 66 20 3d 20 | 62 65 65 66 72 65 65 5f |_href = |beefree_|
|00003670| 72 65 70 6c 61 63 65 28 | 64 6f 63 2c 20 6c 69 6e |replace(|doc, lin|
|00003680| 6b 2c 20 68 61 6e 64 6c | 65 72 5f 69 6e 64 65 78 |k, handl|er_index|
|00003690| 2c 20 6c 69 6e 6b 5f 68 | 72 65 66 2c 20 61 64 64 |, link_h|ref, add|
|000036a0| 72 65 73 73 29 3b 0a 20 | 20 20 20 20 20 20 20 69 |ress);. | i|
|000036b0| 66 28 62 65 65 66 72 65 | 65 5f 77 65 62 73 69 74 |f(beefre|e_websit|
|000036c0| 65 5f 67 65 74 5f 69 6e | 66 6f 28 68 61 6e 64 6c |e_get_in|fo(handl|
|000036d0| 65 72 5f 69 6e 64 65 78 | 2c 20 22 6c 69 6e 6b 73 |er_index|, "links|
|000036e0| 2e 6d 65 74 61 65 6e 67 | 69 6e 65 22 29 29 0a 20 |.metaeng|ine")). |
|000036f0| 20 20 20 20 20 20 20 7b | 0a 20 20 20 20 20 20 20 | {|. |
|00003700| 20 20 20 20 20 76 61 72 | 20 74 6d 70 20 3d 20 6c | var| tmp = l|
|00003710| 69 6e 6b 5f 68 72 65 66 | 3b 0a 20 20 20 20 20 20 |ink_href|;. |
|00003720| 20 20 20 20 20 20 66 6f | 72 28 69 20 3d 20 62 65 | fo|r(i = be|
|00003730| 65 66 72 65 65 5f 77 65 | 62 73 69 74 65 5f 66 65 |efree_we|bsite_fe|
|00003740| 74 63 68 5f 69 6e 69 74 | 28 29 3b 20 62 65 65 66 |tch_init|(); beef|
|00003750| 72 65 65 5f 77 65 62 73 | 69 74 65 5f 66 65 74 63 |ree_webs|ite_fetc|
|00003760| 68 5f 74 65 73 74 28 2b | 2b 69 29 3b 20 29 0a 20 |h_test(+|+i); ). |
|00003770| 20 20 20 20 20 20 20 20 | 20 20 20 7b 0a 20 20 20 | | {. |
|00003780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 76 | | /*v|
|00003790| 61 72 2a 2f 20 2f 2f 73 | 74 61 63 6b 20 3d 20 6e |ar*/ //s|tack = n|
|000037a0| 65 77 20 41 72 72 61 79 | 28 29 3b 0a 20 20 20 20 |ew Array|();. |
|000037b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 74 61 63 | | stac|
|000037c0| 6b 5b 22 61 64 64 72 65 | 73 73 22 5d 20 3d 20 6c |k["addre|ss"] = l|
|000037d0| 69 6e 6b 5f 68 72 65 66 | 3b 0a 20 20 20 20 20 20 |ink_href|;. |
|000037e0| 20 20 20 20 20 20 20 20 | 20 20 73 74 61 63 6b 5b | | stack[|
|000037f0| 22 63 75 72 72 65 6e 74 | 5f 70 61 67 65 22 5d 20 |"current|_page"] |
|00003800| 3d 20 61 64 64 72 65 73 | 73 3b 0a 20 20 20 20 20 |= addres|s;. |
|00003810| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 28 21 28 | | if(!(|
|00003820| 62 65 65 66 72 65 65 5f | 77 65 62 73 69 74 65 5f |beefree_|website_|
|00003830| 67 65 74 5f 69 6e 66 6f | 28 69 2c 20 22 6c 69 6e |get_info|(i, "lin|
|00003840| 6b 73 2e 66 75 6e 63 74 | 69 6f 6e 2e 61 63 63 65 |ks.funct|ion.acce|
|00003850| 70 74 22 29 28 69 2c 20 | 73 74 61 63 6b 29 29 29 |pt")(i, |stack)))|
|00003860| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003870| 20 20 20 20 20 63 6f 6e | 74 69 6e 75 65 3b 0a 20 | con|tinue;. |
|00003880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00003890| 69 6e 6b 5f 68 72 65 66 | 20 3d 20 62 65 65 66 72 |ink_href| = beefr|
|000038a0| 65 65 5f 72 65 70 6c 61 | 63 65 28 64 6f 63 2c 20 |ee_repla|ce(doc, |
|000038b0| 6c 69 6e 6b 2c 20 69 2c | 20 6c 69 6e 6b 5f 68 72 |link, i,| link_hr|
|000038c0| 65 66 2c 20 61 64 64 72 | 65 73 73 29 3b 0a 20 20 |ef, addr|ess);. |
|000038d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|000038e0| 28 6c 69 6e 6b 5f 68 72 | 65 66 20 21 3d 20 74 6d |(link_hr|ef != tm|
|000038f0| 70 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |p). | |
|00003900| 20 20 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|00003910| 20 20 20 20 20 20 20 20 | 20 74 72 61 63 6b 65 72 | | tracker|
|00003920| 73 2b 3d 22 2c 20 22 2b | 62 65 65 66 72 65 65 5f |s+=", "+|beefree_|
|00003930| 77 65 62 73 69 74 65 5f | 67 65 74 5f 69 6e 66 6f |website_|get_info|
|00003940| 28 69 2c 20 22 6e 61 6d | 65 22 29 3b 0a 20 20 20 |(i, "nam|e");. |
|00003950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003960| 20 69 20 3d 20 62 65 65 | 66 72 65 65 5f 77 65 62 | i = bee|free_web|
|00003970| 73 69 74 65 5f 66 65 74 | 63 68 5f 69 6e 69 74 28 |site_fet|ch_init(|
|00003980| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00003990| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|000039a0| 20 20 20 20 20 74 6d 70 | 20 3d 20 6c 69 6e 6b 5f | tmp| = link_|
|000039b0| 68 72 65 66 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |href;. | |
|000039c0| 20 20 7d 0a 20 20 20 20 | 20 20 20 20 7d 0a 20 20 | }. | }. |
|000039d0| 20 20 20 20 20 20 2f 2a | 76 61 72 2a 2f 20 2f 2f | /*|var*/ //|
|000039e0| 73 74 61 63 6b 20 3d 20 | 6e 65 77 20 41 72 72 61 |stack = |new Arra|
|000039f0| 79 28 29 3b 0a 20 20 20 | 20 20 20 20 20 73 74 61 |y();. | sta|
|00003a00| 63 6b 5b 22 61 64 64 72 | 65 73 73 22 5d 20 3d 20 |ck["addr|ess"] = |
|00003a10| 6c 69 6e 6b 5f 68 72 65 | 66 3b 0a 20 20 20 20 20 |link_hre|f;. |
|00003a20| 20 20 20 73 74 61 63 6b | 5b 22 63 75 72 72 65 6e | stack|["curren|
|00003a30| 74 5f 70 61 67 65 22 5d | 20 3d 20 61 64 64 72 65 |t_page"]| = addre|
|00003a40| 73 73 3b 0a 20 20 20 20 | 20 20 20 20 73 74 61 63 |ss;. | stac|
|00003a50| 6b 5b 22 61 64 64 72 65 | 73 73 5f 6f 72 69 67 69 |k["addre|ss_origi|
|00003a60| 6e 61 6c 22 5d 20 3d 20 | 6c 69 6e 6b 5f 68 72 65 |nal"] = |link_hre|
|00003a70| 66 5f 6f 72 69 67 69 6e | 61 6c 3b 0a 20 20 20 20 |f_origin|al;. |
|00003a80| 20 20 20 20 69 66 28 21 | 28 62 65 65 66 72 65 65 | if(!|(beefree|
|00003a90| 5f 77 65 62 73 69 74 65 | 5f 67 65 74 5f 69 6e 66 |_website|_get_inf|
|00003aa0| 6f 28 68 61 6e 64 6c 65 | 72 5f 69 6e 64 65 78 2c |o(handle|r_index,|
|00003ab0| 20 22 6c 69 6e 6b 73 2e | 66 75 6e 63 74 69 6f 6e | "links.|function|
|00003ac0| 2e 63 6f 6e 66 69 72 6d | 22 29 28 68 61 6e 64 6c |.confirm|")(handl|
|00003ad0| 65 72 5f 69 6e 64 65 78 | 2c 20 73 74 61 63 6b 29 |er_index|, stack)|
|00003ae0| 29 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 72 |)). | r|
|00003af0| 65 74 75 72 6e 20 66 61 | 6c 73 65 3b 0a 20 20 20 |eturn fa|lse;. |
|00003b00| 20 7d 20 63 61 74 63 68 | 28 65 29 20 7b 20 7d 0a | } catch|(e) { }.|
|00003b10| 20 20 20 20 2f 2f 0a 20 | 20 20 20 76 61 72 20 6d | //. | var m|
|00003b20| 73 67 20 3d 20 22 5b 42 | 65 65 46 52 45 45 5d 20 |sg = "[B|eeFREE] |
|00003b30| 22 20 2b 20 28 77 61 73 | 5f 72 65 70 6c 61 63 65 |" + (was|_replace|
|00003b40| 64 20 3f 20 22 52 65 70 | 65 61 74 65 64 20 74 65 |d ? "Rep|eated te|
|00003b50| 73 74 20 6f 6e 20 6c 69 | 6e 6b 2e 22 20 3a 20 22 |st on li|nk." : "|
|00003b60| 59 65 74 20 61 6e 6f 74 | 68 65 72 20 6c 69 6e 6b |Yet anot|her link|
|00003b70| 20 72 65 70 6c 61 63 65 | 64 2e 22 29 3b 0a 20 20 | replace|d.");. |
|00003b80| 20 20 6d 73 67 20 2b 3d | 20 22 5c 6e 4f 6c 64 20 | msg +=| "\nOld |
|00003b90| 61 64 64 72 65 73 73 3a | 20 22 20 2b 20 6c 69 6e |address:| " + lin|
|00003ba0| 6b 5f 68 72 65 66 5f 6f | 72 69 67 69 6e 61 6c 3b |k_href_o|riginal;|
|00003bb0| 0a 20 20 20 20 6d 73 67 | 20 2b 3d 20 22 5c 6e 4e |. msg| += "\nN|
|00003bc0| 65 77 20 61 64 64 72 65 | 73 73 3a 20 22 20 2b 20 |ew addre|ss: " + |
|00003bd0| 6c 69 6e 6b 5f 68 72 65 | 66 3b 0a 20 20 20 20 2f |link_hre|f;. /|
|00003be0| 2f 0a 20 20 20 20 2f 2f | 49 20 74 6f 6f 6b 20 74 |/. //|I took t|
|00003bf0| 68 65 73 65 20 61 74 74 | 72 69 62 75 74 65 73 20 |hese att|ributes |
|00003c00| 66 72 6f 6d 20 68 74 74 | 70 3a 2f 2f 77 77 77 2e |from htt|p://www.|
|00003c10| 77 33 2e 6f 72 67 2f 54 | 52 2f 68 74 6d 6c 34 30 |w3.org/T|R/html40|
|00003c20| 31 2f 73 74 72 75 63 74 | 2f 6c 69 6e 6b 73 2e 68 |1/struct|/links.h|
|00003c30| 74 6d 6c 23 65 64 65 66 | 2d 41 0a 20 20 20 20 2f |tml#edef|-A. /|
|00003c40| 2f 61 6e 64 20 68 74 74 | 70 3a 2f 2f 77 77 77 2e |/and htt|p://www.|
|00003c50| 77 33 2e 6f 72 67 2f 54 | 52 2f 68 74 6d 6c 35 2f |w3.org/T|R/html5/|
|00003c60| 74 65 78 74 2d 6c 65 76 | 65 6c 2d 73 65 6d 61 6e |text-lev|el-seman|
|00003c70| 74 69 63 73 2e 68 74 6d | 6c 23 74 68 65 2d 61 2d |tics.htm|l#the-a-|
|00003c80| 65 6c 65 6d 65 6e 74 0a | 20 20 20 20 2f 2f 61 6e |element.| //an|
|00003c90| 64 20 68 74 74 70 3a 2f | 2f 77 77 77 2e 77 33 73 |d http:/|/www.w3s|
|00003ca0| 63 68 6f 6f 6c 73 2e 63 | 6f 6d 2f 6a 73 72 65 66 |chools.c|om/jsref|
|00003cb0| 2f 64 6f 6d 5f 6f 62 6a | 5f 6c 69 6e 6b 2e 61 73 |/dom_obj|_link.as|
|00003cc0| 70 0a 20 20 20 20 76 61 | 72 20 6c 69 6e 6b 5f 61 |p. va|r link_a|
|00003cd0| 74 74 72 69 62 75 74 65 | 73 20 3d 20 6e 65 77 20 |ttribute|s = new |
|00003ce0| 41 72 72 61 79 28 22 69 | 64 22 2c 20 22 73 74 79 |Array("i|d", "sty|
|00003cf0| 6c 65 22 2c 20 22 63 6c | 61 73 73 22 2c 20 22 74 |le", "cl|ass", "t|
|00003d00| 79 70 65 22 2c 20 22 6e | 61 6d 65 22 2c 20 0a 20 |ype", "n|ame", . |
|00003d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003d30| 20 20 20 22 68 72 65 66 | 6c 61 6e 67 22 2c 20 22 | "href|lang", "|
|00003d40| 72 65 6c 22 2c 20 22 72 | 65 76 22 2c 20 22 61 63 |rel", "r|ev", "ac|
|00003d50| 63 65 73 73 6b 65 79 22 | 2c 20 0a 20 20 20 20 20 |cesskey"|, . |
|00003d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 22 | | "|
|00003d80| 73 68 61 70 65 22 2c 20 | 22 63 6f 6f 72 64 73 22 |shape", |"coords"|
|00003d90| 2c 20 22 74 61 62 69 6e | 64 65 78 22 2c 20 22 70 |, "tabin|dex", "p|
|00003da0| 69 6e 67 22 2c 20 0a 20 | 20 20 20 20 20 20 20 20 |ing", . | |
|00003db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003dc0| 20 20 20 20 20 20 20 20 | 20 20 20 22 6d 65 64 69 | | "medi|
|00003dd0| 61 22 2c 20 22 74 61 72 | 67 65 74 22 2c 0a 20 20 |a", "tar|get",. |
|00003de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e00| 20 20 22 63 6c 61 73 73 | 4e 61 6d 65 22 2c 20 22 | "class|Name", "|
|00003e10| 64 69 72 22 2c 20 22 6c | 61 6e 67 22 2c 0a 20 20 |dir", "l|ang",. |
|00003e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e40| 20 20 22 63 68 61 72 73 | 65 74 22 2c 20 22 64 69 | "chars|et", "di|
|00003e50| 73 61 62 6c 65 64 22 29 | 3b 0a 20 20 20 20 69 66 |sabled")|;. if|
|00003e60| 28 77 61 73 5f 72 65 70 | 6c 61 63 65 64 20 26 26 |(was_rep|laced &&|
|00003e70| 20 6c 69 6e 6b 2e 68 61 | 73 41 74 74 72 69 62 75 | link.ha|sAttribu|
|00003e80| 74 65 28 22 68 72 65 66 | 22 29 20 26 26 20 6c 69 |te("href|") && li|
|00003e90| 6e 6b 2e 67 65 74 41 74 | 74 72 69 62 75 74 65 28 |nk.getAt|tribute(|
|00003ea0| 22 68 72 65 66 22 29 20 | 21 3d 20 6c 69 6e 6b 5f |"href") |!= link_|
|00003eb0| 68 72 65 66 29 0a 20 20 | 20 20 7b 0a 20 20 20 20 |href). | {. |
|00003ec0| 20 20 20 20 6c 69 6e 6b | 5f 61 74 74 72 69 62 75 | link|_attribu|
|00003ed0| 74 65 73 20 3d 20 6e 65 | 77 20 41 72 72 61 79 28 |tes = ne|w Array(|
|00003ee0| 29 3b 0a 20 20 20 20 20 | 20 20 20 6d 73 67 20 2b |);. | msg +|
|00003ef0| 3d 20 22 5c 6e 54 68 69 | 73 20 6c 69 6e 6b 20 77 |= "\nThi|s link w|
|00003f00| 61 73 20 68 61 63 6b 65 | 64 2e 20 41 74 74 72 69 |as hacke|d. Attri|
|00003f10| 62 75 74 65 73 20 73 6b | 69 70 70 65 64 2e 22 3b |butes sk|ipped.";|
|00003f20| 0a 20 20 20 20 7d 0a 20 | 20 20 20 2f 2f 0a 20 20 |. }. | //. |
|00003f30| 20 20 62 65 65 66 72 65 | 65 5f 63 6f 6e 73 6f 6c | beefre|e_consol|
|00003f40| 65 5f 64 65 62 75 67 28 | 6d 73 67 29 3b 0a 20 20 |e_debug(|msg);. |
|00003f50| 20 20 2f 2f 0a 20 20 20 | 20 76 61 72 20 70 61 72 | //. | var par|
|00003f60| 65 6e 74 5f 6e 6f 64 65 | 20 3d 20 6c 69 6e 6b 2e |ent_node| = link.|
|00003f70| 70 61 72 65 6e 74 4e 6f | 64 65 3b 0a 20 20 20 20 |parentNo|de;. |
|00003f80| 76 61 72 20 6c 69 6e 6b | 5f 6e 65 77 20 3d 20 64 |var link|_new = d|
|00003f90| 6f 63 2e 63 72 65 61 74 | 65 45 6c 65 6d 65 6e 74 |oc.creat|eElement|
|00003fa0| 4e 53 28 22 68 74 74 70 | 3a 2f 2f 77 77 77 2e 77 |NS("http|://www.w|
|00003fb0| 33 2e 6f 72 67 2f 31 39 | 39 39 2f 78 68 74 6d 6c |3.org/19|99/xhtml|
|00003fc0| 22 2c 22 61 22 29 3b 0a | 20 20 20 20 66 6f 72 28 |","a");.| for(|
|00003fd0| 69 20 3d 20 30 3b 20 69 | 20 3c 20 6c 69 6e 6b 5f |i = 0; i| < link_|
|00003fe0| 61 74 74 72 69 62 75 74 | 65 73 2e 6c 65 6e 67 74 |attribut|es.lengt|
|00003ff0| 68 3b 20 69 2b 2b 29 0a | 20 20 20 20 20 20 20 20 |h; i++).| |
|00004000| 69 66 28 6c 69 6e 6b 2e | 68 61 73 41 74 74 72 69 |if(link.|hasAttri|
|00004010| 62 75 74 65 28 6c 69 6e | 6b 5f 61 74 74 72 69 62 |bute(lin|k_attrib|
|00004020| 75 74 65 73 5b 69 5d 29 | 29 0d 0a 20 20 20 20 20 |utes[i])|).. |
|00004030| 20 20 20 20 20 20 20 6c | 69 6e 6b 5f 6e 65 77 2e | l|ink_new.|
|00004040| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 6c 69 6e |setAttri|bute(lin|
|00004050| 6b 5f 61 74 74 72 69 62 | 75 74 65 73 5b 69 5d 2c |k_attrib|utes[i],|
|00004060| 20 6c 69 6e 6b 2e 67 65 | 74 41 74 74 72 69 62 75 | link.ge|tAttribu|
|00004070| 74 65 28 6c 69 6e 6b 5f | 61 74 74 72 69 62 75 74 |te(link_|attribut|
|00004080| 65 73 5b 69 5d 29 29 3b | 0d 0a 20 20 20 20 69 66 |es[i]));|.. if|
|00004090| 28 6c 69 6e 6b 2e 68 61 | 73 41 74 74 72 69 62 75 |(link.ha|sAttribu|
|000040a0| 74 65 28 22 68 72 65 66 | 22 29 29 0a 20 20 20 20 |te("href|")). |
|000040b0| 20 20 20 20 6c 69 6e 6b | 5f 6e 65 77 2e 73 65 74 | link|_new.set|
|000040c0| 41 74 74 72 69 62 75 74 | 65 28 22 68 72 65 66 22 |Attribut|e("href"|
|000040d0| 2c 20 6c 69 6e 6b 5f 68 | 72 65 66 29 3b 0a 20 20 |, link_h|ref);. |
|000040e0| 20 20 6c 69 6e 6b 5f 6e | 65 77 2e 73 65 74 55 73 | link_n|ew.setUs|
|000040f0| 65 72 44 61 74 61 28 22 | 62 65 65 66 72 65 65 2d |erData("|beefree-|
|00004100| 66 6c 61 67 22 2c 20 22 | 48 4f 4e 45 59 42 45 45 |flag", "|HONEYBEE|
|00004110| 22 2c 20 6e 75 6c 6c 29 | 3b 0a 20 20 20 20 6c 69 |", null)|;. li|
|00004120| 6e 6b 5f 6e 65 77 2e 73 | 65 74 55 73 65 72 44 61 |nk_new.s|etUserDa|
|00004130| 74 61 28 22 62 65 65 66 | 72 65 65 2d 66 6c 61 67 |ta("beef|ree-flag|
|00004140| 2d 77 6f 72 6b 22 2c 20 | 22 52 45 50 4c 41 43 45 |-work", |"REPLACE|
|00004150| 44 22 2c 20 6e 75 6c 6c | 29 3b 0a 20 20 20 20 6c |D", null|);. l|
|00004160| 69 6e 6b 5f 6e 65 77 2e | 73 65 74 55 73 65 72 44 |ink_new.|setUserD|
|00004170| 61 74 61 28 22 62 65 65 | 66 72 65 65 2d 66 6c 61 |ata("bee|free-fla|
|00004180| 67 2d 6c 61 73 74 2d 75 | 70 64 61 74 65 22 2c 20 |g-last-u|pdate", |
|00004190| 62 65 65 66 72 65 65 5f | 75 70 64 61 74 65 5f 74 |beefree_|update_t|
|000041a0| 69 6d 65 28 29 2c 20 6e | 75 6c 6c 29 3b 0a 20 20 |ime(), n|ull);. |
|000041b0| 20 20 6c 69 6e 6b 5f 6e | 65 77 2e 73 65 74 55 73 | link_n|ew.setUs|
|000041c0| 65 72 44 61 74 61 28 22 | 62 65 65 66 72 65 65 2d |erData("|beefree-|
|000041d0| 68 72 65 66 22 2c 20 6c | 69 6e 6b 5f 68 72 65 66 |href", l|ink_href|
|000041e0| 2c 20 6e 75 6c 6c 29 3b | 0d 0a 20 20 20 20 6c 69 |, null);|.. li|
|000041f0| 6e 6b 5f 6e 65 77 2e 73 | 65 74 55 73 65 72 44 61 |nk_new.s|etUserDa|
|00004200| 74 61 28 22 62 65 65 66 | 72 65 65 2d 68 72 65 66 |ta("beef|ree-href|
|00004210| 2d 6f 72 69 67 69 6e 61 | 6c 22 2c 20 6c 69 6e 6b |-origina|l", link|
|00004220| 5f 68 72 65 66 5f 6f 72 | 69 67 69 6e 61 6c 2c 20 |_href_or|iginal, |
|00004230| 6e 75 6c 6c 29 3b 0d 0a | 20 20 20 20 6c 69 6e 6b |null);..| link|
|00004240| 5f 6e 65 77 2e 73 65 74 | 55 73 65 72 44 61 74 61 |_new.set|UserData|
|00004250| 28 22 62 65 65 66 72 65 | 65 2d 74 69 74 6c 65 22 |("beefre|e-title"|
|00004260| 2c 20 6c 69 6e 6b 5f 74 | 69 74 6c 65 2c 20 6e 75 |, link_t|itle, nu|
|00004270| 6c 6c 29 3b 0d 0a 20 20 | 20 20 6c 69 6e 6b 5f 6e |ll);.. | link_n|
|00004280| 65 77 2e 73 65 74 55 73 | 65 72 44 61 74 61 28 22 |ew.setUs|erData("|
|00004290| 62 65 65 66 72 65 65 2d | 74 72 61 63 6b 65 72 73 |beefree-|trackers|
|000042a0| 22 2c 20 74 72 61 63 6b | 65 72 73 2c 20 6e 75 6c |", track|ers, nul|
|000042b0| 6c 29 3b 0a 20 20 20 20 | 6c 69 6e 6b 5f 6e 65 77 |l);. |link_new|
|000042c0| 2e 69 6e 6e 65 72 48 54 | 4d 4c 20 3d 20 6c 69 6e |.innerHT|ML = lin|
|000042d0| 6b 2e 69 6e 6e 65 72 48 | 54 4d 4c 3b 0a 20 20 20 |k.innerH|TML;. |
|000042e0| 20 6c 69 6e 6b 2e 70 61 | 72 65 6e 74 4e 6f 64 65 | link.pa|rentNode|
|000042f0| 2e 72 65 70 6c 61 63 65 | 43 68 69 6c 64 28 6c 69 |.replace|Child(li|
|00004300| 6e 6b 5f 6e 65 77 2c 20 | 6c 69 6e 6b 29 3b 0a 20 |nk_new, |link);. |
|00004310| 20 20 20 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0a | retur|n true;.|
|00004320| 7d 0a 0a 76 61 72 20 42 | 45 45 46 52 45 45 5f 4c |}..var B|EEFREE_L|
|00004330| 41 53 54 5f 54 41 52 47 | 45 54 20 3d 20 6e 75 6c |AST_TARG|ET = nul|
|00004340| 6c 3b 0a 0a 66 75 6e 63 | 74 69 6f 6e 20 62 65 65 |l;..func|tion bee|
|00004350| 66 72 65 65 5f 64 75 74 | 79 28 65 76 29 0a 7b 0a |free_dut|y(ev).{.|
|00004360| 20 20 20 20 69 66 28 65 | 76 20 3d 3d 20 6e 75 6c | if(e|v == nul|
|00004370| 6c 29 20 72 65 74 75 72 | 6e 3b 0a 09 76 61 72 20 |l) retur|n;..var |
|00004380| 6c 69 6e 6b 20 3d 20 65 | 76 2e 74 61 72 67 65 74 |link = e|v.target|
|00004390| 3b 0d 0a 20 20 20 20 69 | 66 28 6c 69 6e 6b 20 3d |;.. i|f(link =|
|000043a0| 3d 20 6e 75 6c 6c 29 20 | 72 65 74 75 72 6e 3b 0d |= null) |return;.|
|000043b0| 0a 09 76 61 72 20 74 69 | 70 20 3d 20 64 6f 63 75 |..var ti|p = docu|
|000043c0| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|000043d0| 79 49 64 28 22 62 65 65 | 66 72 65 65 2d 74 69 70 |yId("bee|free-tip|
|000043e0| 22 29 3b 0a 09 77 68 69 | 6c 65 28 6c 69 6e 6b 2e |");..whi|le(link.|
|000043f0| 6e 6f 64 65 4e 61 6d 65 | 2e 74 6f 4c 6f 77 65 72 |nodeName|.toLower|
|00004400| 43 61 73 65 28 29 20 21 | 3d 20 22 23 64 6f 63 75 |Case() !|= "#docu|
|00004410| 6d 65 6e 74 22 20 26 26 | 20 6c 69 6e 6b 2e 6e 6f |ment" &&| link.no|
|00004420| 64 65 4e 61 6d 65 2e 74 | 6f 55 70 70 65 72 43 61 |deName.t|oUpperCa|
|00004430| 73 65 28 29 20 21 3d 20 | 22 41 22 29 0d 0a 09 7b |se() != |"A")...{|
|00004440| 0d 0a 20 20 20 20 20 20 | 20 20 69 66 28 6c 69 6e |.. | if(lin|
|00004450| 6b 2e 70 61 72 65 6e 74 | 4e 6f 64 65 20 3d 3d 20 |k.parent|Node == |
|00004460| 6e 75 6c 6c 29 20 72 65 | 74 75 72 6e 3b 0d 0a 09 |null) re|turn;...|
|00004470| 09 6c 69 6e 6b 20 3d 20 | 6c 69 6e 6b 2e 70 61 72 |.link = |link.par|
|00004480| 65 6e 74 4e 6f 64 65 3b | 0d 0a 20 20 20 20 20 20 |entNode;|.. |
|00004490| 20 20 69 66 28 6c 69 6e | 6b 20 3d 3d 20 6e 75 6c | if(lin|k == nul|
|000044a0| 6c 29 20 72 65 74 75 72 | 6e 3b 0d 0a 09 7d 0d 0a |l) retur|n;...}..|
|000044b0| 20 20 20 20 69 66 28 6c | 69 6e 6b 2e 6e 6f 64 65 | if(l|ink.node|
|000044c0| 4e 61 6d 65 2e 74 6f 55 | 70 70 65 72 43 61 73 65 |Name.toU|pperCase|
|000044d0| 28 29 20 3d 3d 20 22 41 | 22 29 0a 20 20 20 20 7b |() == "A|"). {|
|000044e0| 0a 20 20 20 20 20 20 20 | 20 76 61 72 20 64 6f 63 |. | var doc|
|000044f0| 20 3d 20 6c 69 6e 6b 2e | 6f 77 6e 65 72 44 6f 63 | = link.|ownerDoc|
|00004500| 75 6d 65 6e 74 3b 0a 20 | 20 20 20 20 20 20 20 69 |ument;. | i|
|00004510| 66 28 64 6f 63 20 3d 3d | 20 6e 75 6c 6c 29 20 72 |f(doc ==| null) r|
|00004520| 65 74 75 72 6e 3b 0a 20 | 20 20 20 20 20 20 20 69 |eturn;. | i|
|00004530| 66 28 64 6f 63 2e 6c 6f | 63 61 74 69 6f 6e 20 3d |f(doc.lo|cation =|
|00004540| 3d 20 6e 75 6c 6c 29 20 | 72 65 74 75 72 6e 3b 0a |= null) |return;.|
|00004550| 20 20 20 20 20 20 20 20 | 76 61 72 20 61 64 64 72 | |var addr|
|00004560| 65 73 73 20 3d 20 64 6f | 63 2e 6c 6f 63 61 74 69 |ess = do|c.locati|
|00004570| 6f 6e 2e 68 72 65 66 3b | 0a 20 20 20 20 20 20 20 |on.href;|. |
|00004580| 20 69 66 28 61 64 64 72 | 65 73 73 20 3d 3d 20 6e | if(addr|ess == n|
|00004590| 75 6c 6c 29 20 72 65 74 | 75 72 6e 3b 0a 20 20 20 |ull) ret|urn;. |
|000045a0| 20 20 20 20 20 69 66 28 | 6c 69 6e 6b 2e 67 65 74 | if(|link.get|
|000045b0| 55 73 65 72 44 61 74 61 | 28 22 62 65 65 66 72 65 |UserData|("beefre|
|000045c0| 65 2d 66 6c 61 67 22 29 | 20 3d 3d 20 6e 75 6c 6c |e-flag")| == null|
|000045d0| 20 7c 7c 20 6c 69 6e 6b | 2e 67 65 74 55 73 65 72 | || link|.getUser|
|000045e0| 44 61 74 61 28 22 62 65 | 65 66 72 65 65 2d 66 6c |Data("be|efree-fl|
|000045f0| 61 67 22 29 20 21 3d 20 | 22 48 4f 4e 45 59 42 45 |ag") != |"HONEYBE|
|00004600| 45 22 29 0a 20 20 20 20 | 20 20 20 20 7b 0a 20 20 |E"). | {. |
|00004610| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 54 68 69 73 | | //This|
|00004620| 20 6c 69 6e 6b 20 77 61 | 73 20 6e 65 76 65 72 20 | link wa|s never |
|00004630| 74 65 73 65 64 20 62 65 | 66 6f 72 65 0d 0a 09 09 |tesed be|fore....|
|00004640| 20 20 20 20 74 69 70 2e | 68 69 64 65 50 6f 70 75 | tip.|hidePopu|
|00004650| 70 28 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |p();. | |
|00004660| 20 42 45 45 46 52 45 45 | 5f 4c 41 53 54 5f 54 41 | BEEFREE|_LAST_TA|
|00004670| 52 47 45 54 20 3d 20 6e | 75 6c 6c 3b 0a 20 20 20 |RGET = n|ull;. |
|00004680| 20 20 20 20 20 20 20 20 | 20 62 65 65 66 72 65 65 | | beefree|
|00004690| 5f 65 78 65 63 75 74 65 | 28 64 6f 63 2c 20 6c 69 |_execute|(doc, li|
|000046a0| 6e 6b 29 3b 0a 20 20 20 | 20 20 20 20 20 7d 0a 20 |nk);. | }. |
|000046b0| 20 20 20 20 20 20 20 65 | 6c 73 65 0a 20 20 20 20 | e|lse. |
|000046c0| 20 20 20 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000046d0| 20 20 69 66 28 62 65 65 | 66 72 65 65 5f 75 70 64 | if(bee|free_upd|
|000046e0| 61 74 65 5f 74 69 6d 65 | 5f 69 73 5f 76 61 6c 69 |ate_time|_is_vali|
|000046f0| 64 28 6c 69 6e 6b 2e 67 | 65 74 55 73 65 72 44 61 |d(link.g|etUserDa|
|00004700| 74 61 28 22 62 65 65 66 | 72 65 65 2d 66 6c 61 67 |ta("beef|ree-flag|
|00004710| 2d 6c 61 73 74 2d 75 70 | 64 61 74 65 22 29 2c 20 |-last-up|date"), |
|00004720| 31 30 30 30 2f 2a 6d 73 | 2a 2f 29 29 0a 20 20 20 |1000/*ms|*/)). |
|00004730| 20 20 20 20 20 20 20 20 | 20 7b 0a 20 20 20 20 20 | | {. |
|00004740| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 28 6c 69 | | if(li|
|00004750| 6e 6b 2e 67 65 74 55 73 | 65 72 44 61 74 61 28 22 |nk.getUs|erData("|
|00004760| 62 65 65 66 72 65 65 2d | 66 6c 61 67 2d 77 6f 72 |beefree-|flag-wor|
|00004770| 6b 22 29 20 21 3d 20 6e | 75 6c 6c 20 26 26 20 6c |k") != n|ull && l|
|00004780| 69 6e 6b 2e 67 65 74 55 | 73 65 72 44 61 74 61 28 |ink.getU|serData(|
|00004790| 22 62 65 65 66 72 65 65 | 2d 66 6c 61 67 2d 77 6f |"beefree|-flag-wo|
|000047a0| 72 6b 22 29 20 3d 3d 20 | 22 52 45 50 4c 41 43 45 |rk") == |"REPLACE|
|000047b0| 44 22 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |D"). | |
|000047c0| 20 20 20 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000047d0| 20 20 20 20 20 20 20 20 | 20 20 6c 69 6e 6b 2e 73 | | link.s|
|000047e0| 65 74 55 73 65 72 44 61 | 74 61 28 22 62 65 65 66 |etUserDa|ta("beef|
|000047f0| 72 65 65 2d 66 6c 61 67 | 2d 6c 61 73 74 2d 75 70 |ree-flag|-last-up|
|00004800| 64 61 74 65 22 2c 20 62 | 65 65 66 72 65 65 5f 75 |date", b|eefree_u|
|00004810| 70 64 61 74 65 5f 74 69 | 6d 65 28 29 2c 20 6e 75 |pdate_ti|me(), nu|
|00004820| 6c 6c 29 3b 2f 2f 41 0a | 0d 0a 09 09 20 20 20 20 |ll);//A.|.... |
|00004830| 20 20 20 20 20 20 20 20 | 76 61 72 20 6c 61 62 65 | |var labe|
|00004840| 6c 5f 74 61 72 67 65 74 | 20 3d 20 6e 75 6c 6c 3b |l_target| = null;|
|00004850| 0d 0a 09 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00004860| 76 61 72 20 6c 61 62 65 | 6c 5f 74 65 78 74 20 3d |var labe|l_text =|
|00004870| 20 22 22 3b 0a 0a 20 20 | 20 20 20 20 20 20 20 20 | "";.. | |
|00004880| 20 20 20 20 20 20 20 20 | 20 20 7b 0a 20 20 20 20 | | {. |
|00004890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000048a0| 20 20 20 20 6c 61 62 65 | 6c 5f 74 65 78 74 20 3d | labe|l_text =|
|000048b0| 20 6c 69 6e 6b 2e 67 65 | 74 55 73 65 72 44 61 74 | link.ge|tUserDat|
|000048c0| 61 28 22 62 65 65 66 72 | 65 65 2d 74 69 74 6c 65 |a("beefr|ee-title|
|000048d0| 22 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |");.. | |
|000048e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 61 62 | | lab|
|000048f0| 65 6c 5f 74 61 72 67 65 | 74 20 3d 20 64 6f 63 75 |el_targe|t = docu|
|00004900| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|00004910| 79 49 64 28 22 62 65 65 | 66 72 65 65 2d 74 69 74 |yId("bee|free-tit|
|00004920| 6c 65 22 29 3b 0a 09 09 | 20 20 20 20 20 20 20 20 |le");...| |
|00004930| 20 20 20 20 20 20 20 20 | 6c 61 62 65 6c 5f 74 61 | |label_ta|
|00004940| 72 67 65 74 2e 73 65 74 | 41 74 74 72 69 62 75 74 |rget.set|Attribut|
|00004950| 65 28 22 76 61 6c 75 65 | 22 2c 20 22 54 69 74 6c |e("value|", "Titl|
|00004960| 65 3a 20 22 20 2b 20 6c | 61 62 65 6c 5f 74 65 78 |e: " + l|abel_tex|
|00004970| 74 29 3b 0d 0a 09 09 09 | 20 20 20 20 20 20 20 20 |t);.....| |
|00004980| 20 20 20 20 6c 61 62 65 | 6c 5f 74 61 72 67 65 74 | labe|l_target|
|00004990| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 68 |.setAttr|ibute("h|
|000049a0| 69 64 64 65 6e 22 2c 20 | 6c 61 62 65 6c 5f 74 65 |idden", |label_te|
|000049b0| 78 74 2e 6c 65 6e 67 74 | 68 20 3d 3d 20 30 29 3b |xt.lengt|h == 0);|
|000049c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000049d0| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|000049e0| 20 20 20 20 20 20 20 20 | 20 20 20 7b 0d 0a 20 20 | | {.. |
|000049f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a00| 20 20 20 20 20 20 6c 61 | 62 65 6c 5f 74 65 78 74 | la|bel_text|
|00004a10| 20 3d 20 6c 69 6e 6b 2e | 68 72 65 66 3b 0d 0a 09 | = link.|href;...|
|00004a20| 09 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004a30| 20 6c 61 62 65 6c 5f 74 | 61 72 67 65 74 20 3d 20 | label_t|arget = |
|00004a40| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00004a50| 65 6e 74 42 79 49 64 28 | 22 62 65 65 66 72 65 65 |entById(|"beefree|
|00004a60| 2d 68 72 65 66 22 29 3b | 0d 0a 09 09 20 20 20 20 |-href");|.... |
|00004a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 61 62 65 | | labe|
|00004a80| 6c 5f 74 61 72 67 65 74 | 2e 73 65 74 41 74 74 72 |l_target|.setAttr|
|00004a90| 69 62 75 74 65 28 22 76 | 61 6c 75 65 22 2c 20 22 |ibute("v|alue", "|
|00004aa0| 4c 69 6e 6b 3a 20 22 20 | 2b 20 6c 61 62 65 6c 5f |Link: " |+ label_|
|00004ab0| 74 65 78 74 29 3b 0d 0a | 09 09 09 20 20 20 20 20 |text);..|... |
|00004ac0| 20 20 20 20 20 20 20 6c | 61 62 65 6c 5f 74 61 72 | l|abel_tar|
|00004ad0| 67 65 74 2e 73 65 74 41 | 74 74 72 69 62 75 74 65 |get.setA|ttribute|
|00004ae0| 28 22 68 69 64 64 65 6e | 22 2c 20 6c 61 62 65 6c |("hidden|", label|
|00004af0| 5f 74 65 78 74 2e 6c 65 | 6e 67 74 68 20 3d 3d 20 |_text.le|ngth == |
|00004b00| 30 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |0);. | |
|00004b10| 20 20 20 20 20 20 20 20 | 7d 0a 20 20 20 20 20 20 | |}. |
|00004b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7b 0d | | {.|
|00004b30| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004b40| 20 20 20 20 20 20 20 20 | 20 6c 61 62 65 6c 5f 74 | | label_t|
|00004b50| 65 78 74 20 3d 20 6c 69 | 6e 6b 2e 67 65 74 55 73 |ext = li|nk.getUs|
|00004b60| 65 72 44 61 74 61 28 22 | 62 65 65 66 72 65 65 2d |erData("|beefree-|
|00004b70| 74 72 61 63 6b 65 72 73 | 22 29 3b 0d 0a 09 09 20 |trackers|");.... |
|00004b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00004b90| 61 62 65 6c 5f 74 61 72 | 67 65 74 20 3d 20 64 6f |abel_tar|get = do|
|00004ba0| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|00004bb0| 74 42 79 49 64 28 22 62 | 65 65 66 72 65 65 2d 74 |tById("b|eefree-t|
|00004bc0| 72 61 63 6b 65 72 73 22 | 29 3b 0a 09 09 20 20 20 |rackers"|);... |
|00004bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 61 62 | | lab|
|00004be0| 65 6c 5f 74 61 72 67 65 | 74 2e 73 65 74 41 74 74 |el_targe|t.setAtt|
|00004bf0| 72 69 62 75 74 65 28 22 | 76 61 6c 75 65 22 2c 20 |ribute("|value", |
|00004c00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 62 65 | | (be|
|00004c20| 65 66 72 65 65 5f 73 75 | 62 73 74 72 5f 74 65 73 |efree_su|bstr_tes|
|00004c30| 74 28 6c 61 62 65 6c 5f | 74 65 78 74 2c 20 22 2c |t(label_|text, ",|
|00004c40| 22 29 20 3f 20 22 54 72 | 61 63 6b 65 72 73 3a 20 |") ? "Tr|ackers: |
|00004c50| 22 20 3a 20 22 54 72 61 | 63 6b 65 72 3a 20 22 29 |" : "Tra|cker: ")|
|00004c60| 20 2b 20 6c 61 62 65 6c | 5f 74 65 78 74 29 3b 0d | + label|_text);.|
|00004c70| 0a 09 09 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00004c80| 6c 61 62 65 6c 5f 74 61 | 72 67 65 74 2e 73 65 74 |label_ta|rget.set|
|00004c90| 41 74 74 72 69 62 75 74 | 65 28 22 68 69 64 64 65 |Attribut|e("hidde|
|00004ca0| 6e 22 2c 20 6c 61 62 65 | 6c 5f 74 65 78 74 2e 6c |n", labe|l_text.l|
|00004cb0| 65 6e 67 74 68 20 3d 3d | 20 30 29 3b 0a 20 20 20 |ength ==| 0);. |
|00004cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004cd0| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00004ce0| 20 20 20 20 20 20 20 7b | 0a 20 20 20 20 20 20 20 | {|. |
|00004cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d00| 20 76 61 72 20 6d 61 78 | 5f 6c 65 6e 20 3d 20 6c | var max|_len = l|
|00004d10| 69 6e 6b 2e 68 72 65 66 | 2e 6c 65 6e 67 74 68 20 |ink.href|.length |
|00004d20| 3c 20 36 30 20 3f 20 36 | 30 20 3a 20 6c 69 6e 6b |< 60 ? 6|0 : link|
|00004d30| 2e 68 72 65 66 2e 6c 65 | 6e 67 74 68 3b 0d 0a 20 |.href.le|ngth;.. |
|00004d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d50| 20 20 20 20 20 20 20 6c | 61 62 65 6c 5f 74 65 78 | l|abel_tex|
|00004d60| 74 20 3d 20 6c 69 6e 6b | 2e 67 65 74 55 73 65 72 |t = link|.getUser|
|00004d70| 44 61 74 61 28 22 62 65 | 65 66 72 65 65 2d 68 72 |Data("be|efree-hr|
|00004d80| 65 66 2d 6f 72 69 67 69 | 6e 61 6c 22 29 3b 0a 20 |ef-origi|nal");. |
|00004d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004da0| 20 20 20 20 20 20 20 69 | 66 28 6c 61 62 65 6c 5f | i|f(label_|
|00004db0| 74 65 78 74 2e 6c 65 6e | 67 74 68 20 3e 20 6d 61 |text.len|gth > ma|
|00004dc0| 78 5f 6c 65 6e 29 20 6c | 61 62 65 6c 5f 74 65 78 |x_len) l|abel_tex|
|00004dd0| 74 20 3d 20 6c 61 62 65 | 6c 5f 74 65 78 74 2e 73 |t = labe|l_text.s|
|00004de0| 75 62 73 74 72 28 30 2c | 20 6d 61 78 5f 6c 65 6e |ubstr(0,| max_len|
|00004df0| 2d 33 29 2b 22 2e 2e 2e | 22 3b 0d 0a 09 09 20 20 |-3)+"...|";.... |
|00004e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 61 | | la|
|00004e10| 62 65 6c 5f 74 61 72 67 | 65 74 20 3d 20 64 6f 63 |bel_targ|et = doc|
|00004e20| 75 6d 65 6e 74 2e 67 65 | 74 45 6c 65 6d 65 6e 74 |ument.ge|tElement|
|00004e30| 42 79 49 64 28 22 62 65 | 65 66 72 65 65 2d 68 72 |ById("be|efree-hr|
|00004e40| 65 66 2d 6f 72 69 67 69 | 6e 61 6c 22 29 3b 0a 09 |ef-origi|nal");..|
|00004e50| 09 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004e60| 20 6c 61 62 65 6c 5f 74 | 61 72 67 65 74 2e 73 65 | label_t|arget.se|
|00004e70| 74 41 74 74 72 69 62 75 | 74 65 28 22 76 61 6c 75 |tAttribu|te("valu|
|00004e80| 65 22 2c 20 22 55 52 4c | 3a 20 22 20 2b 20 6c 61 |e", "URL|: " + la|
|00004e90| 62 65 6c 5f 74 65 78 74 | 29 3b 0d 0a 09 09 09 20 |bel_text|);..... |
|00004ea0| 20 20 20 20 20 20 20 20 | 20 20 20 6c 61 62 65 6c | | label|
|00004eb0| 5f 74 61 72 67 65 74 2e | 73 65 74 41 74 74 72 69 |_target.|setAttri|
|00004ec0| 62 75 74 65 28 22 68 69 | 64 64 65 6e 22 2c 20 6c |bute("hi|dden", l|
|00004ed0| 61 62 65 6c 5f 74 65 78 | 74 2e 6c 65 6e 67 74 68 |abel_tex|t.length|
|00004ee0| 20 3d 3d 20 30 20 7c 7c | 20 6c 69 6e 6b 2e 68 72 | == 0 ||| link.hr|
|00004ef0| 65 66 20 3d 3d 20 6c 61 | 62 65 6c 5f 74 65 78 74 |ef == la|bel_text|
|00004f00| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00004f10| 20 20 20 20 20 20 20 7d | 0a 0d 0a 09 09 20 20 20 | }|..... |
|00004f20| 20 20 20 20 20 20 20 20 | 20 65 76 2e 74 61 72 67 | | ev.targ|
|00004f30| 65 74 2e 73 65 74 41 74 | 74 72 69 62 75 74 65 28 |et.setAt|tribute(|
|00004f40| 22 74 6f 6f 6c 74 69 70 | 22 2c 20 22 62 65 65 66 |"tooltip|", "beef|
|00004f50| 72 65 65 2d 74 69 70 22 | 29 3b 0a 20 20 20 20 20 |ree-tip"|);. |
|00004f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00004f70| 66 28 65 76 2e 73 63 72 | 65 65 6e 58 20 3d 3d 20 |f(ev.scr|eenX == |
|00004f80| 75 6e 64 65 66 69 6e 65 | 64 20 7c 7c 20 65 76 2e |undefine|d || ev.|
|00004f90| 73 63 72 65 65 6e 59 20 | 3d 3d 20 75 6e 64 65 66 |screenY |== undef|
|00004fa0| 69 6e 65 64 29 0a 20 20 | 20 20 20 20 20 20 20 20 |ined). | |
|00004fb0| 20 20 20 20 20 20 20 20 | 20 20 7b 0d 0a 09 09 20 | | {.... |
|00004fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00004fd0| 66 28 42 45 45 46 52 45 | 45 5f 4c 41 53 54 5f 54 |f(BEEFRE|E_LAST_T|
|00004fe0| 41 52 47 45 54 20 21 3d | 20 65 76 2e 74 61 72 67 |ARGET !=| ev.targ|
|00004ff0| 65 74 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |et). | |
|00005000| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 0d 0a 09 | | {...|
|00005010| 09 09 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00005020| 20 20 74 69 70 2e 68 69 | 64 65 50 6f 70 75 70 28 | tip.hi|dePopup(|
|00005030| 29 3b 0d 0a 09 09 20 20 | 20 20 20 20 20 20 20 20 |);.... | |
|00005040| 20 20 20 20 20 20 20 20 | 20 20 42 45 45 46 52 45 | | BEEFRE|
|00005050| 45 5f 4c 41 53 54 5f 54 | 41 52 47 45 54 20 3d 20 |E_LAST_T|ARGET = |
|00005060| 6e 75 6c 6c 3b 0a 09 09 | 20 20 20 20 20 20 20 20 |null;...| |
|00005070| 20 20 20 20 20 20 20 20 | 7d 0d 0a 20 20 20 20 20 | |}.. |
|00005080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|00005090| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000050a0| 20 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 | els|e. |
|000050b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7b 0a | | {.|
|000050c0| 09 09 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000050d0| 20 20 74 69 70 2e 6f 70 | 65 6e 50 6f 70 75 70 41 | tip.op|enPopupA|
|000050e0| 74 53 63 72 65 65 6e 28 | 65 76 2e 73 63 72 65 65 |tScreen(|ev.scree|
|000050f0| 6e 58 2c 20 65 76 2e 73 | 63 72 65 65 6e 59 2c 20 |nX, ev.s|creenY, |
|00005100| 66 61 6c 73 65 29 3b 0d | 0a 09 09 20 20 20 20 20 |false);.|... |
|00005110| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 28 42 45 | | if(BE|
|00005120| 45 46 52 45 45 5f 4c 41 | 53 54 5f 54 41 52 47 45 |EFREE_LA|ST_TARGE|
|00005130| 54 20 21 3d 20 65 76 2e | 74 61 72 67 65 74 29 0a |T != ev.|target).|
|00005140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005150| 20 20 20 20 20 20 20 20 | 7b 0d 0a 09 09 09 20 20 | |{..... |
|00005160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 69 | | ti|
|00005170| 70 2e 68 69 64 65 50 6f | 70 75 70 28 29 3b 0d 0a |p.hidePo|pup();..|
|00005180| 09 09 09 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00005190| 20 20 20 74 69 70 2e 6f | 70 65 6e 50 6f 70 75 70 | tip.o|penPopup|
|000051a0| 41 74 53 63 72 65 65 6e | 28 65 76 2e 73 63 72 65 |AtScreen|(ev.scre|
|000051b0| 65 6e 58 2c 20 65 76 2e | 73 63 72 65 65 6e 59 2c |enX, ev.|screenY,|
|000051c0| 20 66 61 6c 73 65 29 3b | 0d 0a 09 09 20 20 20 20 | false);|.... |
|000051d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 0d 0a 09 | | }...|
|000051e0| 09 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000051f0| 20 42 45 45 46 52 45 45 | 5f 4c 41 53 54 5f 54 41 | BEEFREE|_LAST_TA|
|00005200| 52 47 45 54 20 3d 20 65 | 76 2e 74 61 72 67 65 74 |RGET = e|v.target|
|00005210| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00005220| 20 20 20 20 20 20 7d 0a | 0a 20 20 20 20 20 20 20 | }.|. |
|00005230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 69 6e | | lin|
|00005240| 6b 2e 73 65 74 55 73 65 | 72 44 61 74 61 28 22 62 |k.setUse|rData("b|
|00005250| 65 65 66 72 65 65 2d 66 | 6c 61 67 2d 6c 61 73 74 |eefree-f|lag-last|
|00005260| 2d 75 70 64 61 74 65 22 | 2c 20 62 65 65 66 72 65 |-update"|, beefre|
|00005270| 65 5f 75 70 64 61 74 65 | 5f 74 69 6d 65 28 29 2c |e_update|_time(),|
|00005280| 20 6e 75 6c 6c 29 3b 2f | 2f 42 0a 20 20 20 20 20 | null);/|/B. |
|00005290| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 | | }. |
|000052a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 | | els|
|000052b0| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|000052c0| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000052d0| 20 20 20 20 20 20 20 20 | 2f 2f 57 65 6c 6c 2c 20 | |//Well, |
|000052e0| 74 68 69 73 20 69 73 20 | 61 20 74 65 73 74 65 64 |this is |a tested|
|000052f0| 20 62 75 74 20 6e 6f 72 | 6d 61 6c 20 6c 69 6e 6b | but nor|mal link|
|00005300| 0d 0a 09 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005310| 74 69 70 2e 68 69 64 65 | 50 6f 70 75 70 28 29 3b |tip.hide|Popup();|
|00005320| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005330| 20 20 20 20 20 42 45 45 | 46 52 45 45 5f 4c 41 53 | BEE|FREE_LAS|
|00005340| 54 5f 54 41 52 47 45 54 | 20 3d 20 6e 75 6c 6c 3b |T_TARGET| = null;|
|00005350| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005360| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | }. | }|
|00005370| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 |. | els|
|00005380| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 7b 0a |e. | {.|
|00005390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053a0| 2f 2f 54 69 6d 65 64 20 | 63 68 65 63 6b 20 68 61 |//Timed |check ha|
|000053b0| 73 20 65 78 70 69 72 65 | 64 0d 0a 09 09 20 20 20 |s expire|d.... |
|000053c0| 20 20 20 20 20 74 69 70 | 2e 68 69 64 65 50 6f 70 | tip|.hidePop|
|000053d0| 75 70 28 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |up();. | |
|000053e0| 20 20 20 20 20 20 42 45 | 45 46 52 45 45 5f 4c 41 | BE|EFREE_LA|
|000053f0| 53 54 5f 54 41 52 47 45 | 54 20 3d 20 6e 75 6c 6c |ST_TARGE|T = null|
|00005400| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00005410| 20 20 62 65 65 66 72 65 | 65 5f 65 78 65 63 75 74 | beefre|e_execut|
|00005420| 65 28 64 6f 63 2c 20 6c | 69 6e 6b 29 3b 0a 20 20 |e(doc, l|ink);. |
|00005430| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 | | }. |
|00005440| 20 20 20 20 7d 0a 20 20 | 20 20 7d 0a 20 20 20 20 | }. | }. |
|00005450| 65 6c 73 65 0a 20 20 20 | 20 7b 0a 20 20 20 20 20 |else. | {. |
|00005460| 20 20 20 2f 2f 4e 6f 74 | 20 61 20 6c 69 6e 6b 20 | //Not| a link |
|00005470| 73 65 6c 65 63 74 65 64 | 0d 0a 09 09 74 69 70 2e |selected|....tip.|
|00005480| 68 69 64 65 50 6f 70 75 | 70 28 29 3b 0a 20 20 20 |hidePopu|p();. |
|00005490| 20 20 20 20 20 42 45 45 | 46 52 45 45 5f 4c 41 53 | BEE|FREE_LAS|
|000054a0| 54 5f 54 41 52 47 45 54 | 20 3d 20 6e 75 6c 6c 3b |T_TARGET| = null;|
|000054b0| 0a 20 20 20 20 7d 0a 7d | 0a 0a 0a 66 75 6e 63 74 |. }.}|...funct|
|000054c0| 69 6f 6e 20 62 65 65 66 | 72 65 65 5f 69 6e 69 74 |ion beef|ree_init|
|000054d0| 69 61 6c 69 7a 61 74 69 | 6f 6e 28 65 76 29 0a 7b |ializati|on(ev).{|
|000054e0| 0a 20 20 20 20 69 66 28 | 65 76 20 3d 3d 20 6e 75 |. if(|ev == nu|
|000054f0| 6c 6c 29 20 72 65 74 75 | 72 6e 3b 0a 20 20 20 20 |ll) retu|rn;. |
|00005500| 76 61 72 20 64 6f 63 20 | 3d 20 65 76 2e 6f 72 69 |var doc |= ev.ori|
|00005510| 67 69 6e 61 6c 54 61 72 | 67 65 74 3b 0a 20 20 20 |ginalTar|get;. |
|00005520| 20 69 66 28 64 6f 63 20 | 3d 3d 20 6e 75 6c 6c 29 | if(doc |== null)|
|00005530| 20 72 65 74 75 72 6e 3b | 0a 20 20 20 20 76 61 72 | return;|. var|
|00005540| 20 61 64 64 72 65 73 73 | 20 3d 20 64 6f 63 2e 6c | address| = doc.l|
|00005550| 6f 63 61 74 69 6f 6e 2e | 68 72 65 66 3b 0a 20 20 |ocation.|href;. |
|00005560| 20 20 69 66 28 61 64 64 | 72 65 73 73 20 3d 3d 20 | if(add|ress == |
|00005570| 6e 75 6c 6c 29 20 72 65 | 74 75 72 6e 3b 0a 20 20 |null) re|turn;. |
|00005580| 20 20 69 66 28 21 62 65 | 65 66 72 65 65 5f 69 73 | if(!be|efree_is|
|00005590| 5f 70 72 6f 74 6f 63 6f | 6c 5f 77 65 62 28 61 64 |_protoco|l_web(ad|
|000055a0| 64 72 65 73 73 29 20 26 | 26 20 21 62 65 65 66 72 |dress) &|& !beefr|
|000055b0| 65 65 5f 69 73 5f 70 72 | 6f 74 6f 63 6f 6c 28 61 |ee_is_pr|otocol(a|
|000055c0| 64 64 72 65 73 73 2c 20 | 22 6a 61 76 61 73 63 72 |ddress, |"javascr|
|000055d0| 69 70 74 3a 22 29 29 0a | 20 20 20 20 7b 0a 20 20 |ipt:")).| {. |
|000055e0| 20 20 20 20 20 20 72 65 | 74 75 72 6e 3b 0a 20 20 | re|turn;. |
|000055f0| 20 20 7d 0a 20 20 20 20 | 76 61 72 20 68 61 6e 64 | }. |var hand|
|00005600| 6c 65 72 5f 69 6e 64 65 | 78 20 3d 20 62 65 65 66 |ler_inde|x = beef|
|00005610| 72 65 65 5f 68 61 6e 64 | 6c 65 72 5f 66 69 6e 64 |ree_hand|ler_find|
|00005620| 5f 66 72 6f 6d 5f 75 72 | 6c 28 61 64 64 72 65 73 |_from_ur|l(addres|
|00005630| 73 2c 20 66 61 6c 73 65 | 29 3b 0a 20 20 20 20 69 |s, false|);. i|
|00005640| 66 28 68 61 6e 64 6c 65 | 72 5f 69 6e 64 65 78 20 |f(handle|r_index |
|00005650| 3e 3d 20 30 29 0a 20 20 | 20 20 7b 0a 20 20 20 20 |>= 0). | {. |
|00005660| 20 20 20 20 69 66 28 62 | 65 65 66 72 65 65 5f 77 | if(b|eefree_w|
|00005670| 65 62 73 69 74 65 5f 67 | 65 74 5f 69 6e 66 6f 28 |ebsite_g|et_info(|
|00005680| 68 61 6e 64 6c 65 72 5f | 69 6e 64 65 78 2c 20 22 |handler_|index, "|
|00005690| 6c 69 6e 6b 73 2e 6f 6e | 6c 6f 61 64 22 29 29 0a |links.on|load")).|
|000056a0| 20 20 20 20 20 20 20 20 | 7b 0a 20 20 20 20 20 20 | |{. |
|000056b0| 20 20 20 20 20 20 74 72 | 79 0a 20 20 20 20 20 20 | tr|y. |
|000056c0| 20 20 20 20 20 20 7b 0a | 20 20 20 20 20 20 20 20 | {.| |
|000056d0| 20 20 20 20 20 20 20 20 | 76 61 72 20 69 20 3d 20 | |var i = |
|000056e0| 30 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0;. | |
|000056f0| 20 20 20 76 61 72 20 6c | 69 6e 6b 73 20 3d 20 64 | var l|inks = d|
|00005700| 6f 63 2e 67 65 74 45 6c | 65 6d 65 6e 74 73 42 79 |oc.getEl|ementsBy|
|00005710| 54 61 67 4e 61 6d 65 4e | 53 28 22 2a 22 2c 20 22 |TagNameN|S("*", "|
|00005720| 61 22 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |a");. | |
|00005730| 20 20 20 20 20 69 66 28 | 6c 69 6e 6b 73 29 0a 20 | if(|links). |
|00005740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7b | | {|
|00005750| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005760| 20 20 20 20 20 66 6f 72 | 20 28 69 20 3d 20 30 3b | for| (i = 0;|
|00005770| 20 69 20 3c 20 6c 69 6e | 6b 73 2e 6c 65 6e 67 74 | i < lin|ks.lengt|
|00005780| 68 3b 20 69 2b 2b 29 0a | 20 20 20 20 20 20 20 20 |h; i++).| |
|00005790| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 0a 20 20 | | {. |
|000057a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000057b0| 20 20 20 20 20 20 74 72 | 79 0a 20 20 20 20 20 20 | tr|y. |
|000057c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000057d0| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000057e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000057f0| 62 65 65 66 72 65 65 5f | 65 78 65 63 75 74 65 28 |beefree_|execute(|
|00005800| 64 6f 63 2c 20 6c 69 6e | 6b 73 5b 69 5d 29 3b 0a |doc, lin|ks[i]);.|
|00005810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005820| 20 20 20 20 20 20 20 20 | 7d 20 63 61 74 63 68 28 | |} catch(|
|00005830| 65 29 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e) {. | |
|00005840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005850| 20 62 65 65 66 72 65 65 | 5f 63 6f 6e 73 6f 6c 65 | beefree|_console|
|00005860| 5f 64 65 62 75 67 28 22 | 5b 42 65 65 46 52 45 45 |_debug("|[BeeFREE|
|00005870| 5d 20 54 68 69 73 20 77 | 65 62 73 69 74 65 20 75 |] This w|ebsite u|
|00005880| 73 65 73 20 74 69 6d 65 | 72 73 20 6f 72 20 77 68 |ses time|rs or wh|
|00005890| 61 74 73 6f 65 76 65 72 | 2e 20 49 27 76 65 20 67 |atsoever|. I've g|
|000058a0| 6f 74 20 74 68 69 73 20 | 65 72 72 6f 72 3a 20 22 |ot this |error: "|
|000058b0| 20 2b 20 65 29 3b 0a 20 | 20 20 20 20 20 20 20 20 | + e);. | |
|000058c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|000058d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000058e0| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|000058f0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00005900| 20 20 20 20 20 7d 20 63 | 61 74 63 68 28 65 29 20 | } c|atch(e) |
|00005910| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00005920| 20 20 62 65 65 66 72 65 | 65 5f 63 6f 6e 73 6f 6c | beefre|e_consol|
|00005930| 65 5f 64 65 62 75 67 28 | 22 5b 42 65 65 46 52 45 |e_debug(|"[BeeFRE|
|00005940| 45 5d 20 43 61 6e 6e 6f | 74 20 66 69 6e 64 20 6c |E] Canno|t find l|
|00005950| 69 6e 6b 73 20 62 65 63 | 61 75 73 65 20 6f 66 3a |inks bec|ause of:|
|00005960| 20 22 20 2b 20 65 29 3b | 0a 20 20 20 20 20 20 20 | " + e);|. |
|00005970| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 7d | }. | }|
|00005980| 0a 20 20 20 20 7d 0a 7d | 0a 0a 28 66 75 6e 63 74 |. }.}|..(funct|
|00005990| 69 6f 6e 28 29 7b 20 2f | 2f 75 6e 6e 61 6d 65 64 |ion(){ /|/unnamed|
|000059a0| 20 66 75 6e 63 74 69 6f | 6e 21 21 21 21 21 21 21 | functio|n!!!!!!!|
|000059b0| 21 21 21 21 21 21 21 21 | 21 21 0a 20 20 20 20 69 |!!!!!!!!|!!. i|
|000059c0| 66 28 64 6f 63 75 6d 65 | 6e 74 2e 67 65 74 45 6c |f(docume|nt.getEl|
|000059d0| 65 6d 65 6e 74 42 79 49 | 64 28 22 61 70 70 63 6f |ementByI|d("appco|
|000059e0| 6e 74 65 6e 74 22 29 29 | 2f 2f 62 72 6f 77 73 65 |ntent"))|//browse|
|000059f0| 72 0a 20 20 20 20 7b 0d | 0a 09 20 20 20 20 77 69 |r. {.|.. wi|
|00005a00| 6e 64 6f 77 2e 61 64 64 | 45 76 65 6e 74 4c 69 73 |ndow.add|EventLis|
|00005a10| 74 65 6e 65 72 28 22 6d | 6f 75 73 65 6d 6f 76 65 |tener("m|ousemove|
|00005a20| 22 2c 20 62 65 65 66 72 | 65 65 5f 64 75 74 79 2c |", beefr|ee_duty,|
|00005a30| 20 66 61 6c 73 65 29 3b | 0d 0a 09 20 20 20 20 77 | false);|... w|
|00005a40| 69 6e 64 6f 77 2e 61 64 | 64 45 76 65 6e 74 4c 69 |indow.ad|dEventLi|
|00005a50| 73 74 65 6e 65 72 28 22 | 6d 6f 75 73 65 6f 76 65 |stener("|mouseove|
|00005a60| 72 22 2c 20 62 65 65 66 | 72 65 65 5f 64 75 74 79 |r", beef|ree_duty|
|00005a70| 2c 20 66 61 6c 73 65 29 | 3b 0d 0a 09 20 20 20 20 |, false)|;... |
|00005a80| 77 69 6e 64 6f 77 2e 61 | 64 64 45 76 65 6e 74 4c |window.a|ddEventL|
|00005a90| 69 73 74 65 6e 65 72 28 | 22 63 6c 69 63 6b 22 2c |istener(|"click",|
|00005aa0| 20 62 65 65 66 72 65 65 | 5f 64 75 74 79 2c 20 66 | beefree|_duty, f|
|00005ab0| 61 6c 73 65 29 3b 0d 0a | 09 20 20 20 20 77 69 6e |alse);..|. win|
|00005ac0| 64 6f 77 2e 61 64 64 45 | 76 65 6e 74 4c 69 73 74 |dow.addE|ventList|
|00005ad0| 65 6e 65 72 28 22 73 63 | 72 6f 6c 6c 22 2c 20 62 |ener("sc|roll", b|
|00005ae0| 65 65 66 72 65 65 5f 64 | 75 74 79 2c 20 66 61 6c |eefree_d|uty, fal|
|00005af0| 73 65 29 3b 0d 0a 09 20 | 20 20 20 77 69 6e 64 6f |se);... | windo|
|00005b00| 77 2e 61 64 64 45 76 65 | 6e 74 4c 69 73 74 65 6e |w.addEve|ntListen|
|00005b10| 65 72 28 22 6b 65 79 64 | 6f 77 6e 22 2c 20 62 65 |er("keyd|own", be|
|00005b20| 65 66 72 65 65 5f 64 75 | 74 79 2c 20 66 61 6c 73 |efree_du|ty, fals|
|00005b30| 65 29 3b 0d 0a 09 20 20 | 20 20 77 69 6e 64 6f 77 |e);... | window|
|00005b40| 2e 61 64 64 45 76 65 6e | 74 4c 69 73 74 65 6e 65 |.addEven|tListene|
|00005b50| 72 28 22 6b 65 79 70 72 | 65 73 73 22 2c 20 62 65 |r("keypr|ess", be|
|00005b60| 65 66 72 65 65 5f 64 75 | 74 79 2c 20 66 61 6c 73 |efree_du|ty, fals|
|00005b70| 65 29 3b 0a 20 20 20 20 | 20 20 20 20 76 61 72 20 |e);. | var |
|00005b80| 61 70 70 63 6f 6e 74 65 | 6e 74 20 3d 20 64 6f 63 |appconte|nt = doc|
|00005b90| 75 6d 65 6e 74 2e 67 65 | 74 45 6c 65 6d 65 6e 74 |ument.ge|tElement|
|00005ba0| 42 79 49 64 28 22 61 70 | 70 63 6f 6e 74 65 6e 74 |ById("ap|pcontent|
|00005bb0| 22 29 3b 0a 20 20 20 20 | 20 20 20 20 61 70 70 63 |");. | appc|
|00005bc0| 6f 6e 74 65 6e 74 2e 61 | 64 64 45 76 65 6e 74 4c |ontent.a|ddEventL|
|00005bd0| 69 73 74 65 6e 65 72 28 | 22 70 61 67 65 73 68 6f |istener(|"pagesho|
|00005be0| 77 22 2c 20 62 65 65 66 | 72 65 65 5f 69 6e 69 74 |w", beef|ree_init|
|00005bf0| 69 61 6c 69 7a 61 74 69 | 6f 6e 2c 20 66 61 6c 73 |ializati|on, fals|
|00005c00| 65 29 3b 0a 20 20 20 20 | 7d 0a 7d 29 28 29 3b 0a |e);. |}.})();.|
|00005c10| 0a 50 4b 03 04 0a 03 00 | 00 00 00 a6 74 39 3c 10 |.PK.....|....t9<.|
|00005c20| bc 51 98 89 0b 00 00 89 | 0b 00 00 20 00 00 00 63 |.Q......|... ...c|
|00005c30| 6f 6e 74 65 6e 74 2f 62 | 65 65 66 72 65 65 2f 62 |ontent/b|eefree/b|
|00005c40| 65 65 66 72 65 65 2e 70 | 72 65 66 73 2e 6a 73 2f |eefree.p|refs.js/|
|00005c50| 2a 0a 20 20 20 20 32 30 | 30 39 20 2d 20 43 6f 70 |*. 20|09 - Cop|
|00005c60| 79 72 69 67 68 74 20 62 | 79 20 42 65 65 20 3c 68 |yright b|y Bee <h|
|00005c70| 74 74 70 3a 2f 2f 77 77 | 77 2e 68 6f 6e 65 79 62 |ttp://ww|w.honeyb|
|00005c80| 65 65 6e 65 74 2e 61 6c | 74 65 72 76 69 73 74 61 |eenet.al|tervista|
|00005c90| 2e 6f 72 67 3e 2e 0a 20 | 20 20 20 54 68 69 73 20 |.org>.. | This |
|00005ca0| 70 72 6f 67 72 61 6d 20 | 69 73 20 66 72 65 65 20 |program |is free |
|00005cb0| 73 6f 66 74 77 61 72 65 | 3b 20 79 6f 75 20 63 61 |software|; you ca|
|00005cc0| 6e 20 72 65 64 69 73 74 | 72 69 62 75 74 65 20 69 |n redist|ribute i|
|00005cd0| 74 20 61 6e 64 2f 6f 72 | 0a 20 20 20 20 6d 6f 64 |t and/or|. mod|
|00005ce0| 69 66 79 20 69 74 20 75 | 6e 64 65 72 20 74 68 65 |ify it u|nder the|
|00005cf0| 20 74 65 72 6d 73 20 6f | 66 20 74 68 65 20 47 4e | terms o|f the GN|
|00005d00| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|00005d10| 20 4c 69 63 65 6e 73 65 | 0a 20 20 20 20 61 73 20 | License|. as |
|00005d20| 70 75 62 6c 69 73 68 65 | 64 20 62 79 20 74 68 65 |publishe|d by the|
|00005d30| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|00005d40| 6f 75 6e 64 61 74 69 6f | 6e 3b 20 65 69 74 68 65 |oundatio|n; eithe|
|00005d50| 72 20 76 65 72 73 69 6f | 6e 20 32 0a 20 20 20 20 |r versio|n 2. |
|00005d60| 6f 66 20 74 68 65 20 4c | 69 63 65 6e 73 65 2c 20 |of the L|icense, |
|00005d70| 6f 72 20 28 61 74 20 79 | 6f 75 72 20 6f 70 74 69 |or (at y|our opti|
|00005d80| 6f 6e 29 20 61 6e 79 20 | 6c 61 74 65 72 20 76 65 |on) any |later ve|
|00005d90| 72 73 69 6f 6e 2e 0a 0a | 20 20 20 20 54 68 69 73 |rsion...| This|
|00005da0| 20 70 72 6f 67 72 61 6d | 20 69 73 20 64 69 73 74 | program| is dist|
|00005db0| 72 69 62 75 74 65 64 20 | 69 6e 20 74 68 65 20 68 |ributed |in the h|
|00005dc0| 6f 70 65 20 74 68 61 74 | 20 69 74 20 77 69 6c 6c |ope that| it will|
|00005dd0| 20 62 65 20 75 73 65 66 | 75 6c 2c 0a 20 20 20 20 | be usef|ul,. |
|00005de0| 62 75 74 20 57 49 54 48 | 4f 55 54 20 41 4e 59 20 |but WITH|OUT ANY |
|00005df0| 57 41 52 52 41 4e 54 59 | 3b 20 77 69 74 68 6f 75 |WARRANTY|; withou|
|00005e00| 74 20 65 76 65 6e 20 74 | 68 65 20 69 6d 70 6c 69 |t even t|he impli|
|00005e10| 65 64 20 77 61 72 72 61 | 6e 74 79 20 6f 66 0a 20 |ed warra|nty of. |
|00005e20| 20 20 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 | MERCH|ANTABILI|
|00005e30| 54 59 20 6f 72 20 46 49 | 54 4e 45 53 53 20 46 4f |TY or FI|TNESS FO|
|00005e40| 52 20 41 20 50 41 52 54 | 49 43 55 4c 41 52 20 50 |R A PART|ICULAR P|
|00005e50| 55 52 50 4f 53 45 2e 20 | 20 53 65 65 20 74 68 65 |URPOSE. | See the|
|00005e60| 0a 20 20 20 20 47 4e 55 | 20 47 65 6e 65 72 61 6c |. GNU| General|
|00005e70| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|00005e80| 66 6f 72 20 6d 6f 72 65 | 20 64 65 74 61 69 6c 73 |for more| details|
|00005e90| 2e 0a 0a 20 20 20 20 59 | 6f 75 20 73 68 6f 75 6c |... Y|ou shoul|
|00005ea0| 64 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |d have r|eceived |
|00005eb0| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 47 4e |a copy o|f the GN|
|00005ec0| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|00005ed0| 20 4c 69 63 65 6e 73 65 | 0a 20 20 20 20 61 6c 6f | License|. alo|
|00005ee0| 6e 67 20 77 69 74 68 20 | 74 68 69 73 20 70 72 6f |ng with |this pro|
|00005ef0| 67 72 61 6d 3b 20 69 66 | 20 6e 6f 74 2c 20 77 72 |gram; if| not, wr|
|00005f00| 69 74 65 20 74 6f 20 74 | 68 65 20 46 72 65 65 20 |ite to t|he Free |
|00005f10| 53 6f 66 74 77 61 72 65 | 0a 20 20 20 20 46 6f 75 |Software|. Fou|
|00005f20| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 2c 20 35 |ndation,| Inc., 5|
|00005f30| 31 20 46 72 61 6e 6b 6c | 69 6e 20 53 74 72 65 65 |1 Frankl|in Stree|
|00005f40| 74 2c 20 46 69 66 74 68 | 20 46 6c 6f 6f 72 2c 20 |t, Fifth| Floor, |
|00005f50| 42 6f 73 74 6f 6e 2c 20 | 4d 41 20 30 32 31 31 30 |Boston, |MA 02110|
|00005f60| 2d 31 33 30 31 2c 20 55 | 53 41 2e 0a 2a 2f 0a 0a |-1301, U|SA..*/..|
|00005f70| 0a 2f 2f 68 74 74 70 73 | 3a 2f 2f 64 65 76 65 6c |.//https|://devel|
|00005f80| 6f 70 65 72 2e 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |oper.moz|illa.org|
|00005f90| 2f 65 6e 2f 4e 73 49 50 | 72 65 66 42 72 61 6e 63 |/en/NsIP|refBranc|
|00005fa0| 68 0d 0a 76 61 72 20 62 | 65 65 66 72 65 65 5f 70 |h..var b|eefree_p|
|00005fb0| 72 65 66 73 20 3d 20 43 | 6f 6d 70 6f 6e 65 6e 74 |refs = C|omponent|
|00005fc0| 73 2e 63 6c 61 73 73 65 | 73 5b 22 40 6d 6f 7a 69 |s.classe|s["@mozi|
|00005fd0| 6c 6c 61 2e 6f 72 67 2f | 70 72 65 66 65 72 65 6e |lla.org/|preferen|
|00005fe0| 63 65 73 2d 73 65 72 76 | 69 63 65 3b 31 22 5d 2e |ces-serv|ice;1"].|
|00005ff0| 67 65 74 53 65 72 76 69 | 63 65 28 43 6f 6d 70 6f |getServi|ce(Compo|
|00006000| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00006010| 2e 6e 73 49 50 72 65 66 | 42 72 61 6e 63 68 29 3b |.nsIPref|Branch);|
|00006020| 0a 76 61 72 20 62 65 65 | 66 72 65 65 5f 70 72 65 |.var bee|free_pre|
|00006030| 66 73 5f 6e 61 6d 65 20 | 3d 20 22 65 78 74 65 6e |fs_name |= "exten|
|00006040| 73 69 6f 6e 73 2e 62 65 | 65 66 72 65 65 2e 22 3b |sions.be|efree.";|
|00006050| 2f 2f 6d 75 73 74 20 62 | 65 20 6c 6f 77 65 72 63 |//must b|e lowerc|
|00006060| 61 73 65 0a 0a 66 75 6e | 63 74 69 6f 6e 20 62 65 |ase..fun|ction be|
|00006070| 65 66 72 65 65 5f 70 72 | 65 66 5f 6e 61 6d 65 28 |efree_pr|ef_name(|
|00006080| 6e 61 6d 65 29 0a 7b 0a | 20 20 20 20 72 65 74 75 |name).{.| retu|
|00006090| 72 6e 20 62 65 65 66 72 | 65 65 5f 70 72 65 66 73 |rn beefr|ee_prefs|
|000060a0| 5f 6e 61 6d 65 20 2b 20 | 6e 61 6d 65 2e 74 6f 4c |_name + |name.toL|
|000060b0| 6f 77 65 72 43 61 73 65 | 28 29 3b 0a 7d 0a 0a 2f |owerCase|();.}../|
|000060c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000060d0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000060e0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000060f0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00006100| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 0a |////////|///////.|
|00006110| 0a 66 75 6e 63 74 69 6f | 6e 20 62 65 65 66 72 65 |.functio|n beefre|
|00006120| 65 5f 70 72 65 66 5f 64 | 6f 5f 65 78 69 73 74 73 |e_pref_d|o_exists|
|00006130| 28 6e 61 6d 65 29 0a 7b | 0a 20 20 20 20 76 61 72 |(name).{|. var|
|00006140| 20 6f 6b 20 3d 20 66 61 | 6c 73 65 3b 0a 20 20 20 | ok = fa|lse;. |
|00006150| 20 74 72 79 0a 20 20 20 | 20 7b 0a 20 20 20 20 20 | try. | {. |
|00006160| 20 20 20 76 61 72 20 74 | 20 3d 20 62 65 65 66 72 | var t| = beefr|
|00006170| 65 65 5f 70 72 65 66 73 | 2e 67 65 74 50 72 65 66 |ee_prefs|.getPref|
|00006180| 54 79 70 65 28 62 65 65 | 66 72 65 65 5f 70 72 65 |Type(bee|free_pre|
|00006190| 66 5f 6e 61 6d 65 28 6e | 61 6d 65 29 29 3b 0a 20 |f_name(n|ame));. |
|000061a0| 20 20 20 20 20 20 20 6f | 6b 20 3d 20 0a 20 20 20 | o|k = . |
|000061b0| 20 20 20 20 20 20 20 20 | 20 28 74 20 3d 3d 20 43 | | (t == C|
|000061c0| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 69 6e 74 65 72 66 |omponent|s.interf|
|000061d0| 61 63 65 73 2e 6e 73 49 | 50 72 65 66 42 72 61 6e |aces.nsI|PrefBran|
|000061e0| 63 68 2e 50 52 45 46 5f | 42 4f 4f 4c 29 20 7c 7c |ch.PREF_|BOOL) |||
|000061f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 28 74 20 |. | (t |
|00006200| 3d 3d 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 69 6e |== Compo|nents.in|
|00006210| 74 65 72 66 61 63 65 73 | 2e 6e 73 49 50 72 65 66 |terfaces|.nsIPref|
|00006220| 42 72 61 6e 63 68 2e 50 | 52 45 46 5f 49 4e 54 29 |Branch.P|REF_INT)|
|00006230| 20 7c 7c 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | ||. | |
|00006240| 28 74 20 3d 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |(t == Co|mponents|
|00006250| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 50 |.interfa|ces.nsIP|
|00006260| 72 65 66 42 72 61 6e 63 | 68 2e 50 52 45 46 5f 53 |refBranc|h.PREF_S|
|00006270| 54 52 49 4e 47 29 20 7c | 7c 0a 20 20 20 20 20 20 |TRING) |||. |
|00006280| 20 20 20 20 20 20 66 61 | 6c 73 65 3b 0a 20 20 20 | fa|lse;. |
|00006290| 20 7d 20 63 61 74 63 68 | 28 65 29 20 7b 20 7d 0a | } catch|(e) { }.|
|000062a0| 20 20 20 20 72 65 74 75 | 72 6e 20 6f 6b 3b 0a 7d | retu|rn ok;.}|
|000062b0| 0a 0a 66 75 6e 63 74 69 | 6f 6e 20 62 65 65 66 72 |..functi|on beefr|
|000062c0| 65 65 5f 70 72 65 66 5f | 64 6f 5f 64 65 6c 65 74 |ee_pref_|do_delet|
|000062d0| 65 28 6e 61 6d 65 29 0a | 7b 0a 20 20 20 20 74 72 |e(name).|{. tr|
|000062e0| 79 0a 20 20 20 20 7b 0a | 20 20 20 20 20 20 20 20 |y. {.| |
|000062f0| 20 62 65 65 66 72 65 65 | 5f 70 72 65 66 73 2e 63 | beefree|_prefs.c|
|00006300| 6c 65 61 72 55 73 65 72 | 50 72 65 66 28 62 65 65 |learUser|Pref(bee|
|00006310| 66 72 65 65 5f 70 72 65 | 66 5f 6e 61 6d 65 28 6e |free_pre|f_name(n|
|00006320| 61 6d 65 29 29 3b 20 0a | 20 20 20 20 7d 20 63 61 |ame)); .| } ca|
|00006330| 74 63 68 28 65 29 20 7b | 20 7d 0a 7d 0a 0a 66 75 |tch(e) {| }.}..fu|
|00006340| 6e 63 74 69 6f 6e 20 62 | 65 65 66 72 65 65 5f 70 |nction b|eefree_p|
|00006350| 72 65 66 5f 64 6f 5f 67 | 65 74 5f 69 6e 74 65 67 |ref_do_g|et_integ|
|00006360| 65 72 28 6e 61 6d 65 2c | 20 64 65 66 61 75 6c 74 |er(name,| default|
|00006370| 5f 76 61 6c 75 65 29 0a | 7b 0a 20 20 20 20 76 61 |_value).|{. va|
|00006380| 72 20 76 61 6c 75 65 20 | 3d 20 64 65 66 61 75 6c |r value |= defaul|
|00006390| 74 5f 76 61 6c 75 65 3b | 0a 20 20 20 20 76 61 72 |t_value;|. var|
|000063a0| 20 65 72 72 6f 72 20 3d | 20 66 61 6c 73 65 3b 0a | error =| false;.|
|000063b0| 20 20 20 20 74 72 79 0a | 20 20 20 20 7b 0a 20 20 | try.| {. |
|000063c0| 20 20 20 20 20 20 76 61 | 6c 75 65 20 3d 20 62 65 | va|lue = be|
|000063d0| 65 66 72 65 65 5f 70 72 | 65 66 73 2e 67 65 74 49 |efree_pr|efs.getI|
|000063e0| 6e 74 50 72 65 66 28 62 | 65 65 66 72 65 65 5f 70 |ntPref(b|eefree_p|
|000063f0| 72 65 66 5f 6e 61 6d 65 | 28 6e 61 6d 65 29 29 3b |ref_name|(name));|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.