Best Python code snippet using localstack_python
regress-89443.js
Source:regress-89443.js  
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */2/* This Source Code Form is subject to the terms of the Mozilla Public3 * License, v. 2.0. If a copy of the MPL was not distributed with this4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */5/*6 * Date: 2001-07-127 *8 * SUMMARY: Regression test for bug 894439 * See http://bugzilla.mozilla.org/show_bug.cgi?id=8944310 *11 * Just seeing if this script will compile without stack overflow.12 */13//-----------------------------------------------------------------------------14var gTestfile = 'regress-89443.js';15var BUGNUMBER = 89443;16var summary = 'Testing this script will compile without stack overflow';17printBugNumber(BUGNUMBER);18printStatus (summary);19//  I don't know what these functions are supposed to be; use dummies -20function isPlainHostName()21{22}23function dnsDomainIs()24{25}26// Here's the big function -27function FindProxyForURL(url, host)28{29  if (isPlainHostName(host)30      || dnsDomainIs(host, ".hennepin.lib.mn.us")31      || dnsDomainIs(host, ".hclib.org")32    )33    return "DIRECT";34  else if (isPlainHostName(host)35// subscription database access36	   || dnsDomainIs(host, ".asahi.com")37	   || dnsDomainIs(host, ".2facts.com")38	   || dnsDomainIs(host, ".oclc.org")39	   || dnsDomainIs(host, ".collegesource.com")40	   || dnsDomainIs(host, ".cq.com")41	   || dnsDomainIs(host, ".grolier.com")42	   || dnsDomainIs(host, ".groveart.com")43	   || dnsDomainIs(host, ".groveopera.com")44	   || dnsDomainIs(host, ".fsonline.com")45	   || dnsDomainIs(host, ".carl.org")46	   || dnsDomainIs(host, ".newslibrary.com")47	   || dnsDomainIs(host, ".pioneerplanet.com")48	   || dnsDomainIs(host, ".startribune.com")49	   || dnsDomainIs(host, ".poemfinder.com")50	   || dnsDomainIs(host, ".umi.com")51	   || dnsDomainIs(host, ".referenceusa.com")52	   || dnsDomainIs(host, ".sirs.com")53	   || dnsDomainIs(host, ".krmediastream.com")54	   || dnsDomainIs(host, ".gale.com")55	   || dnsDomainIs(host, ".galenet.com")56	   || dnsDomainIs(host, ".galegroup.com")57	   || dnsDomainIs(host, ".facts.com")58	   || dnsDomainIs(host, ".eb.com")59	   || dnsDomainIs(host, ".worldbookonline.com")60	   || dnsDomainIs(host, ".galegroup.com")61	   || dnsDomainIs(host, ".accessscience.com")62	   || dnsDomainIs(host, ".booksinprint.com")63	   || dnsDomainIs(host, ".infolearning.com")64	   || dnsDomainIs(host, ".standardpoor.com")65// image servers66	   || dnsDomainIs(host, ".akamaitech.net")67	   || dnsDomainIs(host, ".akamai.net")68	   || dnsDomainIs(host, ".yimg.com")69	   || dnsDomainIs(host, ".imgis.com")70	   || dnsDomainIs(host, ".ibsys.com")71//  KidsClick-linked kids search engines72	   || dnsDomainIs(host, ".edview.com")73	   || dnsDomainIs(host, ".searchopolis.com")74	   || dnsDomainIs(host, ".onekey.com")75	   || dnsDomainIs(host, ".askjeeves.com")76 77//  Non-subscription Reference Tools URLs from the RecWebSites DBData table78	   || dnsDomainIs(host, "www.cnn.com")79	   || dnsDomainIs(host, "www.emulateme.com")80	   || dnsDomainIs(host, "terraserver.microsoft.com")81	   || dnsDomainIs(host, "www.theodora.com")82	   || dnsDomainIs(host, "www.3datlas.com")83	   || dnsDomainIs(host, "www.infoplease.com")84	   || dnsDomainIs(host, "www.switchboard.com")85	   || dnsDomainIs(host, "www.bartleby.com")86	   || dnsDomainIs(host, "www.mn-politics.com")87	   || dnsDomainIs(host, "www.thesaurus.com")88	   || dnsDomainIs(host, "www.usnews.com")89	   || dnsDomainIs(host, "www.petersons.com")90	   || dnsDomainIs(host, "www.collegenet.com")91	   || dnsDomainIs(host, "www.m-w.com")92	   || dnsDomainIs(host, "clever.net")93	   || dnsDomainIs(host, "maps.expedia.com")94	   || dnsDomainIs(host, "www.CollegeEdge.com")95	   || dnsDomainIs(host, "www.homeworkcentral.com")96	   || dnsDomainIs(host, "www.studyweb.com")97	   || dnsDomainIs(host, "www.mnpro.com")98 99//  custom URLs for local and other access100	   || dnsDomainIs(host, ".dsdukes.com")101	   || dnsDomainIs(host, ".spsaints.com")102	   || dnsDomainIs(host, ".mnzoo.com")103	   || dnsDomainIs(host, ".realaudio.com")104	   || dnsDomainIs(host, ".co.hennepin.mn.us")105	   || dnsDomainIs(host, ".gov")106	   || dnsDomainIs(host, ".org")107	   || dnsDomainIs(host, ".edu")108	   || dnsDomainIs(host, ".fox29.com")109	   || dnsDomainIs(host, ".wcco.com")110	   || dnsDomainIs(host, ".kstp.com")111	   || dnsDomainIs(host, ".kmsp.com")112	   || dnsDomainIs(host, ".kare11.com")113	   || dnsDomainIs(host, ".macromedia.com")114	   || dnsDomainIs(host, ".shockwave.com")115	   || dnsDomainIs(host, ".wwf.com")116	   || dnsDomainIs(host, ".wwfsuperstars.com")117	   || dnsDomainIs(host, ".summerslam.com")118	   || dnsDomainIs(host, ".yahooligans.com")119	   || dnsDomainIs(host, ".mhoob.com")120	   || dnsDomainIs(host, "www.hmonginternet.com")121	   || dnsDomainIs(host, "www.hmongonline.com")122	   || dnsDomainIs(host, ".yahoo.com")123	   || dnsDomainIs(host, ".pokemon.com")124	   || dnsDomainIs(host, ".bet.com")125	   || dnsDomainIs(host, ".smallworld.com")126	   || dnsDomainIs(host, ".cartoonnetwork.com")127	   || dnsDomainIs(host, ".carmensandiego.com")128	   || dnsDomainIs(host, ".disney.com")129	   || dnsDomainIs(host, ".powerpuffgirls.com")130	   || dnsDomainIs(host, ".aol.com")131// Smithsonian132	   || dnsDomainIs(host, "160.111.100.190")133// Hotmail134	   || dnsDomainIs(host, ".passport.com")135	   || dnsDomainIs(host, ".hotmail.com")136	   || dnsDomainIs(host, "216.33.236.24")137	   || dnsDomainIs(host, "216.32.182.251")138	   || dnsDomainIs(host, ".hotmail.msn.com")139//  K12 schools140	   || dnsDomainIs(host, ".k12.al.us")141	   || dnsDomainIs(host, ".k12.ak.us")142	   || dnsDomainIs(host, ".k12.ar.us")143	   || dnsDomainIs(host, ".k12.az.us")144	   || dnsDomainIs(host, ".k12.ca.us")145	   || dnsDomainIs(host, ".k12.co.us")146	   || dnsDomainIs(host, ".k12.ct.us")147	   || dnsDomainIs(host, ".k12.dc.us")148	   || dnsDomainIs(host, ".k12.de.us")149	   || dnsDomainIs(host, ".k12.fl.us")150	   || dnsDomainIs(host, ".k12.ga.us")151	   || dnsDomainIs(host, ".k12.hi.us")152	   || dnsDomainIs(host, ".k12.id.us")153	   || dnsDomainIs(host, ".k12.il.us")154	   || dnsDomainIs(host, ".k12.in.us")155	   || dnsDomainIs(host, ".k12.ia.us")156	   || dnsDomainIs(host, ".k12.ks.us")157	   || dnsDomainIs(host, ".k12.ky.us")158	   || dnsDomainIs(host, ".k12.la.us")159	   || dnsDomainIs(host, ".k12.me.us")160	   || dnsDomainIs(host, ".k12.md.us")161	   || dnsDomainIs(host, ".k12.ma.us")162	   || dnsDomainIs(host, ".k12.mi.us")163	   || dnsDomainIs(host, ".k12.mn.us")164	   || dnsDomainIs(host, ".k12.ms.us")165	   || dnsDomainIs(host, ".k12.mo.us")166	   || dnsDomainIs(host, ".k12.mt.us")167	   || dnsDomainIs(host, ".k12.ne.us")168	   || dnsDomainIs(host, ".k12.nv.us")169	   || dnsDomainIs(host, ".k12.nh.us")170	   || dnsDomainIs(host, ".k12.nj.us")171	   || dnsDomainIs(host, ".k12.nm.us")172	   || dnsDomainIs(host, ".k12.ny.us")173	   || dnsDomainIs(host, ".k12.nc.us")174	   || dnsDomainIs(host, ".k12.nd.us")175	   || dnsDomainIs(host, ".k12.oh.us")176	   || dnsDomainIs(host, ".k12.ok.us")177	   || dnsDomainIs(host, ".k12.or.us")178	   || dnsDomainIs(host, ".k12.pa.us")179	   || dnsDomainIs(host, ".k12.ri.us")180	   || dnsDomainIs(host, ".k12.sc.us")181	   || dnsDomainIs(host, ".k12.sd.us")182	   || dnsDomainIs(host, ".k12.tn.us")183	   || dnsDomainIs(host, ".k12.tx.us")184	   || dnsDomainIs(host, ".k12.ut.us")185	   || dnsDomainIs(host, ".k12.vt.us")186	   || dnsDomainIs(host, ".k12.va.us")187	   || dnsDomainIs(host, ".k12.wa.us")188	   || dnsDomainIs(host, ".k12.wv.us")189	   || dnsDomainIs(host, ".k12.wi.us")190	   || dnsDomainIs(host, ".k12.wy.us")191//  U.S. Libraries192	   || dnsDomainIs(host, ".lib.al.us")193	   || dnsDomainIs(host, ".lib.ak.us")194	   || dnsDomainIs(host, ".lib.ar.us")195	   || dnsDomainIs(host, ".lib.az.us")196	   || dnsDomainIs(host, ".lib.ca.us")197	   || dnsDomainIs(host, ".lib.co.us")198	   || dnsDomainIs(host, ".lib.ct.us")199	   || dnsDomainIs(host, ".lib.dc.us")200	   || dnsDomainIs(host, ".lib.de.us")201	   || dnsDomainIs(host, ".lib.fl.us")202	   || dnsDomainIs(host, ".lib.ga.us")203	   || dnsDomainIs(host, ".lib.hi.us")204	   || dnsDomainIs(host, ".lib.id.us")205	   || dnsDomainIs(host, ".lib.il.us")206	   || dnsDomainIs(host, ".lib.in.us")207	   || dnsDomainIs(host, ".lib.ia.us")208	   || dnsDomainIs(host, ".lib.ks.us")209	   || dnsDomainIs(host, ".lib.ky.us")210	   || dnsDomainIs(host, ".lib.la.us")211	   || dnsDomainIs(host, ".lib.me.us")212	   || dnsDomainIs(host, ".lib.md.us")213	   || dnsDomainIs(host, ".lib.ma.us")214	   || dnsDomainIs(host, ".lib.mi.us")215	   || dnsDomainIs(host, ".lib.mn.us")216	   || dnsDomainIs(host, ".lib.ms.us")217	   || dnsDomainIs(host, ".lib.mo.us")218	   || dnsDomainIs(host, ".lib.mt.us")219	   || dnsDomainIs(host, ".lib.ne.us")220	   || dnsDomainIs(host, ".lib.nv.us")221	   || dnsDomainIs(host, ".lib.nh.us")222	   || dnsDomainIs(host, ".lib.nj.us")223	   || dnsDomainIs(host, ".lib.nm.us")224	   || dnsDomainIs(host, ".lib.ny.us")225	   || dnsDomainIs(host, ".lib.nc.us")226	   || dnsDomainIs(host, ".lib.nd.us")227	   || dnsDomainIs(host, ".lib.oh.us")228	   || dnsDomainIs(host, ".lib.ok.us")229	   || dnsDomainIs(host, ".lib.or.us")230	   || dnsDomainIs(host, ".lib.pa.us")231	   || dnsDomainIs(host, ".lib.ri.us")232	   || dnsDomainIs(host, ".lib.sc.us")233	   || dnsDomainIs(host, ".lib.sd.us")234	   || dnsDomainIs(host, ".lib.tn.us")235	   || dnsDomainIs(host, ".lib.tx.us")236	   || dnsDomainIs(host, ".lib.ut.us")237	   || dnsDomainIs(host, ".lib.vt.us")238	   || dnsDomainIs(host, ".lib.va.us")239	   || dnsDomainIs(host, ".lib.wa.us")240	   || dnsDomainIs(host, ".lib.wv.us")241	   || dnsDomainIs(host, ".lib.wi.us")242	   || dnsDomainIs(host, ".lib.wy.us")243//  U.S. Cities244	   || dnsDomainIs(host, ".ci.al.us")245	   || dnsDomainIs(host, ".ci.ak.us")246	   || dnsDomainIs(host, ".ci.ar.us")247	   || dnsDomainIs(host, ".ci.az.us")248	   || dnsDomainIs(host, ".ci.ca.us")249	   || dnsDomainIs(host, ".ci.co.us")250	   || dnsDomainIs(host, ".ci.ct.us")251	   || dnsDomainIs(host, ".ci.dc.us")252	   || dnsDomainIs(host, ".ci.de.us")253	   || dnsDomainIs(host, ".ci.fl.us")254	   || dnsDomainIs(host, ".ci.ga.us")255	   || dnsDomainIs(host, ".ci.hi.us")256	   || dnsDomainIs(host, ".ci.id.us")257	   || dnsDomainIs(host, ".ci.il.us")258	   || dnsDomainIs(host, ".ci.in.us")259	   || dnsDomainIs(host, ".ci.ia.us")260	   || dnsDomainIs(host, ".ci.ks.us")261	   || dnsDomainIs(host, ".ci.ky.us")262	   || dnsDomainIs(host, ".ci.la.us")263	   || dnsDomainIs(host, ".ci.me.us")264	   || dnsDomainIs(host, ".ci.md.us")265	   || dnsDomainIs(host, ".ci.ma.us")266	   || dnsDomainIs(host, ".ci.mi.us")267	   || dnsDomainIs(host, ".ci.mn.us")268	   || dnsDomainIs(host, ".ci.ms.us")269	   || dnsDomainIs(host, ".ci.mo.us")270	   || dnsDomainIs(host, ".ci.mt.us")271	   || dnsDomainIs(host, ".ci.ne.us")272	   || dnsDomainIs(host, ".ci.nv.us")273	   || dnsDomainIs(host, ".ci.nh.us")274	   || dnsDomainIs(host, ".ci.nj.us")275	   || dnsDomainIs(host, ".ci.nm.us")276	   || dnsDomainIs(host, ".ci.ny.us")277	   || dnsDomainIs(host, ".ci.nc.us")278	   || dnsDomainIs(host, ".ci.nd.us")279	   || dnsDomainIs(host, ".ci.oh.us")280	   || dnsDomainIs(host, ".ci.ok.us")281	   || dnsDomainIs(host, ".ci.or.us")282	   || dnsDomainIs(host, ".ci.pa.us")283	   || dnsDomainIs(host, ".ci.ri.us")284	   || dnsDomainIs(host, ".ci.sc.us")285	   || dnsDomainIs(host, ".ci.sd.us")286	   || dnsDomainIs(host, ".ci.tn.us")287	   || dnsDomainIs(host, ".ci.tx.us")288	   || dnsDomainIs(host, ".ci.ut.us")289	   || dnsDomainIs(host, ".ci.vt.us")290	   || dnsDomainIs(host, ".ci.va.us")291	   || dnsDomainIs(host, ".ci.wa.us")292	   || dnsDomainIs(host, ".ci.wv.us")293	   || dnsDomainIs(host, ".ci.wi.us")294	   || dnsDomainIs(host, ".ci.wy.us")295//  U.S. Counties296	   || dnsDomainIs(host, ".co.al.us")297	   || dnsDomainIs(host, ".co.ak.us")298	   || dnsDomainIs(host, ".co.ar.us")299	   || dnsDomainIs(host, ".co.az.us")300	   || dnsDomainIs(host, ".co.ca.us")301	   || dnsDomainIs(host, ".co.co.us")302	   || dnsDomainIs(host, ".co.ct.us")303	   || dnsDomainIs(host, ".co.dc.us")304	   || dnsDomainIs(host, ".co.de.us")305	   || dnsDomainIs(host, ".co.fl.us")306	   || dnsDomainIs(host, ".co.ga.us")307	   || dnsDomainIs(host, ".co.hi.us")308	   || dnsDomainIs(host, ".co.id.us")309	   || dnsDomainIs(host, ".co.il.us")310	   || dnsDomainIs(host, ".co.in.us")311	   || dnsDomainIs(host, ".co.ia.us")312	   || dnsDomainIs(host, ".co.ks.us")313	   || dnsDomainIs(host, ".co.ky.us")314	   || dnsDomainIs(host, ".co.la.us")315	   || dnsDomainIs(host, ".co.me.us")316	   || dnsDomainIs(host, ".co.md.us")317	   || dnsDomainIs(host, ".co.ma.us")318	   || dnsDomainIs(host, ".co.mi.us")319	   || dnsDomainIs(host, ".co.mn.us")320	   || dnsDomainIs(host, ".co.ms.us")321	   || dnsDomainIs(host, ".co.mo.us")322	   || dnsDomainIs(host, ".co.mt.us")323	   || dnsDomainIs(host, ".co.ne.us")324	   || dnsDomainIs(host, ".co.nv.us")325	   || dnsDomainIs(host, ".co.nh.us")326	   || dnsDomainIs(host, ".co.nj.us")327	   || dnsDomainIs(host, ".co.nm.us")328	   || dnsDomainIs(host, ".co.ny.us")329	   || dnsDomainIs(host, ".co.nc.us")330	   || dnsDomainIs(host, ".co.nd.us")331	   || dnsDomainIs(host, ".co.oh.us")332	   || dnsDomainIs(host, ".co.ok.us")333	   || dnsDomainIs(host, ".co.or.us")334	   || dnsDomainIs(host, ".co.pa.us")335	   || dnsDomainIs(host, ".co.ri.us")336	   || dnsDomainIs(host, ".co.sc.us")337	   || dnsDomainIs(host, ".co.sd.us")338	   || dnsDomainIs(host, ".co.tn.us")339	   || dnsDomainIs(host, ".co.tx.us")340	   || dnsDomainIs(host, ".co.ut.us")341	   || dnsDomainIs(host, ".co.vt.us")342	   || dnsDomainIs(host, ".co.va.us")343	   || dnsDomainIs(host, ".co.wa.us")344	   || dnsDomainIs(host, ".co.wv.us")345	   || dnsDomainIs(host, ".co.wi.us")346	   || dnsDomainIs(host, ".co.wy.us")347//  U.S. States348	   || dnsDomainIs(host, ".state.al.us")349	   || dnsDomainIs(host, ".state.ak.us")350	   || dnsDomainIs(host, ".state.ar.us")351	   || dnsDomainIs(host, ".state.az.us")352	   || dnsDomainIs(host, ".state.ca.us")353	   || dnsDomainIs(host, ".state.co.us")354	   || dnsDomainIs(host, ".state.ct.us")355	   || dnsDomainIs(host, ".state.dc.us")356	   || dnsDomainIs(host, ".state.de.us")357	   || dnsDomainIs(host, ".state.fl.us")358	   || dnsDomainIs(host, ".state.ga.us")359	   || dnsDomainIs(host, ".state.hi.us")360	   || dnsDomainIs(host, ".state.id.us")361	   || dnsDomainIs(host, ".state.il.us")362	   || dnsDomainIs(host, ".state.in.us")363	   || dnsDomainIs(host, ".state.ia.us")364	   || dnsDomainIs(host, ".state.ks.us")365	   || dnsDomainIs(host, ".state.ky.us")366	   || dnsDomainIs(host, ".state.la.us")367	   || dnsDomainIs(host, ".state.me.us")368	   || dnsDomainIs(host, ".state.md.us")369	   || dnsDomainIs(host, ".state.ma.us")370	   || dnsDomainIs(host, ".state.mi.us")371	   || dnsDomainIs(host, ".state.mn.us")372	   || dnsDomainIs(host, ".state.ms.us")373	   || dnsDomainIs(host, ".state.mo.us")374	   || dnsDomainIs(host, ".state.mt.us")375	   || dnsDomainIs(host, ".state.ne.us")376	   || dnsDomainIs(host, ".state.nv.us")377	   || dnsDomainIs(host, ".state.nh.us")378	   || dnsDomainIs(host, ".state.nj.us")379	   || dnsDomainIs(host, ".state.nm.us")380	   || dnsDomainIs(host, ".state.ny.us")381	   || dnsDomainIs(host, ".state.nc.us")382	   || dnsDomainIs(host, ".state.nd.us")383	   || dnsDomainIs(host, ".state.oh.us")384	   || dnsDomainIs(host, ".state.ok.us")385	   || dnsDomainIs(host, ".state.or.us")386	   || dnsDomainIs(host, ".state.pa.us")387	   || dnsDomainIs(host, ".state.ri.us")388	   || dnsDomainIs(host, ".state.sc.us")389	   || dnsDomainIs(host, ".state.sd.us")390	   || dnsDomainIs(host, ".state.tn.us")391	   || dnsDomainIs(host, ".state.tx.us")392	   || dnsDomainIs(host, ".state.ut.us")393	   || dnsDomainIs(host, ".state.vt.us")394	   || dnsDomainIs(host, ".state.va.us")395	   || dnsDomainIs(host, ".state.wa.us")396	   || dnsDomainIs(host, ".state.wv.us")397	   || dnsDomainIs(host, ".state.wi.us")398	   || dnsDomainIs(host, ".state.wy.us")399// KidsClick URLs400	   || dnsDomainIs(host, "12.16.163.163")401	   || dnsDomainIs(host, "128.59.173.136")402	   || dnsDomainIs(host, "165.112.78.61")403	   || dnsDomainIs(host, "216.55.23.140")404	   || dnsDomainIs(host, "63.111.53.150")405	   || dnsDomainIs(host, "64.94.206.8")406	   || dnsDomainIs(host, "abc.go.com")407	   || dnsDomainIs(host, "acmepet.petsmart.com")408	   || dnsDomainIs(host, "adver-net.com")409	   || dnsDomainIs(host, "aint-it-cool-news.com")410	   || dnsDomainIs(host, "akidsheart.com")411	   || dnsDomainIs(host, "alabanza.com")412	   || dnsDomainIs(host, "allerdays.com")413	   || dnsDomainIs(host, "allgame.com")414	   || dnsDomainIs(host, "allowancenet.com")415	   || dnsDomainIs(host, "amish-heartland.com")416	   || dnsDomainIs(host, "ancienthistory.about.com")417	   || dnsDomainIs(host, "animals.about.com")418	   || dnsDomainIs(host, "antenna.nl")419	   || dnsDomainIs(host, "arcweb.sos.state.or.us")420	   || dnsDomainIs(host, "artistmummer.homestead.com")421	   || dnsDomainIs(host, "artists.vh1.com")422	   || dnsDomainIs(host, "arts.lausd.k12.ca.us")423	   || dnsDomainIs(host, "asiatravel.com")424	   || dnsDomainIs(host, "asterius.com")425	   || dnsDomainIs(host, "atlas.gc.ca")426	   || dnsDomainIs(host, "atschool.eduweb.co.uk")427	   || dnsDomainIs(host, "ayya.pd.net")428	   || dnsDomainIs(host, "babelfish.altavista.com")429	   || dnsDomainIs(host, "babylon5.warnerbros.com")430	   || dnsDomainIs(host, "banzai.neosoft.com")431	   || dnsDomainIs(host, "barneyonline.com")432	   || dnsDomainIs(host, "baroque-music.com")433	   || dnsDomainIs(host, "barsoom.msss.com")434	   || dnsDomainIs(host, "baseball-almanac.com")435	   || dnsDomainIs(host, "bcadventure.com")436	   || dnsDomainIs(host, "beadiecritters.hosting4less.com")437	   || dnsDomainIs(host, "beverlyscrafts.com")438	   || dnsDomainIs(host, "biology.about.com")439	   || dnsDomainIs(host, "birding.about.com")440	   || dnsDomainIs(host, "boatsafe.com")441	   || dnsDomainIs(host, "bombpop.com")442	   || dnsDomainIs(host, "boulter.com")443	   || dnsDomainIs(host, "bright-ideas-software.com")444	   || dnsDomainIs(host, "buckman.pps.k12.or.us")445	   || dnsDomainIs(host, "buffalobills.com")446	   || dnsDomainIs(host, "bvsd.k12.co.us")447	   || dnsDomainIs(host, "cagle.slate.msn.com")448	   || dnsDomainIs(host, "calc.entisoft.com")449	   || dnsDomainIs(host, "canada.gc.ca")450	   || dnsDomainIs(host, "candleandsoap.about.com")451	   || dnsDomainIs(host, "caselaw.lp.findlaw.com")452	   || dnsDomainIs(host, "catalog.com")453	   || dnsDomainIs(host, "catalog.socialstudies.com")454	   || dnsDomainIs(host, "cavern.com")455	   || dnsDomainIs(host, "cbs.sportsline.com")456	   || dnsDomainIs(host, "cc.matsuyama-u.ac.jp")457	   || dnsDomainIs(host, "celt.net")458	   || dnsDomainIs(host, "cgfa.kelloggcreek.com")459	   || dnsDomainIs(host, "channel4000.com")460	   || dnsDomainIs(host, "chess.delorie.com")461	   || dnsDomainIs(host, "chess.liveonthenet.com")462	   || dnsDomainIs(host, "childfun.com")463	   || dnsDomainIs(host, "christmas.com")464	   || dnsDomainIs(host, "citystar.com")465	   || dnsDomainIs(host, "claim.goldrush.com")466	   || dnsDomainIs(host, "clairerosemaryjane.com")467	   || dnsDomainIs(host, "clevermedia.com")468	   || dnsDomainIs(host, "cobblestonepub.com")469	   || dnsDomainIs(host, "codebrkr.infopages.net")470	   || dnsDomainIs(host, "colitz.com")471	   || dnsDomainIs(host, "collections.ic.gc.ca")472	   || dnsDomainIs(host, "coloquio.com")473	   || dnsDomainIs(host, "come.to")474	   || dnsDomainIs(host, "coombs.anu.edu.au")475	   || dnsDomainIs(host, "crafterscommunity.com")476	   || dnsDomainIs(host, "craftsforkids.about.com")477	   || dnsDomainIs(host, "creativity.net")478	   || dnsDomainIs(host, "cslewis.drzeus.net")479	   || dnsDomainIs(host, "cust.idl.com.au")480	   || dnsDomainIs(host, "cvs.anu.edu.au")481	   || dnsDomainIs(host, "cybersleuth-kids.com")482	   || dnsDomainIs(host, "cybertown.com")483	   || dnsDomainIs(host, "darkfish.com")484	   || dnsDomainIs(host, "datadragon.com")485	   || dnsDomainIs(host, "davesite.com")486	   || dnsDomainIs(host, "dbertens.www.cistron.nl")487	   || dnsDomainIs(host, "detnews.com")488	   || dnsDomainIs(host, "dhr.dos.state.fl.us")489	   || dnsDomainIs(host, "dialspace.dial.pipex.com")490	   || dnsDomainIs(host, "dictionaries.travlang.com")491	   || dnsDomainIs(host, "disney.go.com")492	   || dnsDomainIs(host, "disneyland.disney.go.com")493	   || dnsDomainIs(host, "district.gresham.k12.or.us")494	   || dnsDomainIs(host, "dmarie.com")495	   || dnsDomainIs(host, "dreamwater.com")496	   || dnsDomainIs(host, "duke.fuse.net")497	   || dnsDomainIs(host, "earlyamerica.com")498	   || dnsDomainIs(host, "earthsky.com")499	   || dnsDomainIs(host, "easyweb.easynet.co.uk")500	   || dnsDomainIs(host, "ecards1.bansheeweb.com")501	   || dnsDomainIs(host, "edugreen.teri.res.in")502	   || dnsDomainIs(host, "edwardlear.tripod.com")503	   || dnsDomainIs(host, "eelink.net")504	   || dnsDomainIs(host, "elizabethsings.com")505	   || dnsDomainIs(host, "enature.com")506	   || dnsDomainIs(host, "encarta.msn.com")507	   || dnsDomainIs(host, "endangeredspecie.com")508	   || dnsDomainIs(host, "enterprise.america.com")509	   || dnsDomainIs(host, "ericae.net")510	   || dnsDomainIs(host, "esl.about.com")511	   || dnsDomainIs(host, "eveander.com")512	   || dnsDomainIs(host, "exn.ca")513	   || dnsDomainIs(host, "fallscam.niagara.com")514	   || dnsDomainIs(host, "family.go.com")515	   || dnsDomainIs(host, "family2.go.com")516	   || dnsDomainIs(host, "familyeducation.com")517	   || dnsDomainIs(host, "finditquick.com")518	   || dnsDomainIs(host, "fln-bma.yazigi.com.br")519	   || dnsDomainIs(host, "fln-con.yazigi.com.br")520	   || dnsDomainIs(host, "food.epicurious.com")521	   || dnsDomainIs(host, "forums.sympatico.ca")522	   || dnsDomainIs(host, "fotw.vexillum.com")523	   || dnsDomainIs(host, "fox.nstn.ca")524	   || dnsDomainIs(host, "framingham.com")525	   || dnsDomainIs(host, "freevote.com")526	   || dnsDomainIs(host, "freeweb.pdq.net")527	   || dnsDomainIs(host, "games.yahoo.com")528	   || dnsDomainIs(host, "gardening.sierrahome.com")529	   || dnsDomainIs(host, "gardenofpraise.com")530	   || dnsDomainIs(host, "gcclearn.gcc.cc.va.us")531	   || dnsDomainIs(host, "genealogytoday.com")532	   || dnsDomainIs(host, "genesis.ne.mediaone.net")533	   || dnsDomainIs(host, "geniefind.com")534	   || dnsDomainIs(host, "geography.about.com")535	   || dnsDomainIs(host, "gf.state.wy.us")536	   || dnsDomainIs(host, "gi.grolier.com")537	   || dnsDomainIs(host, "golf.com")538	   || dnsDomainIs(host, "greatseal.com")539	   || dnsDomainIs(host, "guardians.net")540	   || dnsDomainIs(host, "hamlet.hypermart.net")541	   || dnsDomainIs(host, "happypuppy.com")542	   || dnsDomainIs(host, "harcourt.fsc.follett.com")543	   || dnsDomainIs(host, "haringkids.com")544	   || dnsDomainIs(host, "harrietmaysavitz.com")545	   || dnsDomainIs(host, "harrypotter.warnerbros.com")546	   || dnsDomainIs(host, "hca.gilead.org.il")547	   || dnsDomainIs(host, "header.future.easyspace.com")548	   || dnsDomainIs(host, "historymedren.about.com")549	   || dnsDomainIs(host, "home.att.net")550	   || dnsDomainIs(host, "home.austin.rr.com")551	   || dnsDomainIs(host, "home.capu.net")552	   || dnsDomainIs(host, "home.cfl.rr.com")553	   || dnsDomainIs(host, "home.clara.net")554	   || dnsDomainIs(host, "home.clear.net.nz")555	   || dnsDomainIs(host, "home.earthlink.net")556	   || dnsDomainIs(host, "home.eznet.net")557	   || dnsDomainIs(host, "home.flash.net")558	   || dnsDomainIs(host, "home.hiwaay.net")559	   || dnsDomainIs(host, "home.hkstar.com")560	   || dnsDomainIs(host, "home.ici.net")561	   || dnsDomainIs(host, "home.inreach.com")562	   || dnsDomainIs(host, "home.interlynx.net")563	   || dnsDomainIs(host, "home.istar.ca")564	   || dnsDomainIs(host, "home.mira.net")565	   || dnsDomainIs(host, "home.nycap.rr.com")566	   || dnsDomainIs(host, "home.online.no")567	   || dnsDomainIs(host, "home.pb.net")568	   || dnsDomainIs(host, "home2.pacific.net.sg")569	   || dnsDomainIs(host, "homearts.com")570	   || dnsDomainIs(host, "homepage.mac.com")571	   || dnsDomainIs(host, "hometown.aol.com")572	   || dnsDomainIs(host, "homiliesbyemail.com")573	   || dnsDomainIs(host, "hotei.fix.co.jp")574	   || dnsDomainIs(host, "hotwired.lycos.com")575	   || dnsDomainIs(host, "hp.vector.co.jp")576	   || dnsDomainIs(host, "hum.amu.edu.pl")577	   || dnsDomainIs(host, "i-cias.com")578	   || dnsDomainIs(host, "icatapults.freeservers.com")579	   || dnsDomainIs(host, "ind.cioe.com")580	   || dnsDomainIs(host, "info.ex.ac.uk")581	   || dnsDomainIs(host, "infocan.gc.ca")582	   || dnsDomainIs(host, "infoservice.gc.ca")583	   || dnsDomainIs(host, "interoz.com")584	   || dnsDomainIs(host, "ireland.iol.ie")585	   || dnsDomainIs(host, "is.dal.ca")586	   || dnsDomainIs(host, "itss.raytheon.com")587	   || dnsDomainIs(host, "iul.com")588	   || dnsDomainIs(host, "jameswhitcombriley.com")589	   || dnsDomainIs(host, "jellieszone.com")590	   || dnsDomainIs(host, "jordan.sportsline.com")591	   || dnsDomainIs(host, "judyanddavid.com")592	   || dnsDomainIs(host, "jurai.murdoch.edu.au")593	   || dnsDomainIs(host, "just.about.com")594	   || dnsDomainIs(host, "kayleigh.tierranet.com")595	   || dnsDomainIs(host, "kcwingwalker.tripod.com")596	   || dnsDomainIs(host, "kidexchange.about.com")597	   || dnsDomainIs(host, "kids-world.colgatepalmolive.com")598	   || dnsDomainIs(host, "kids.mysterynet.com")599	   || dnsDomainIs(host, "kids.ot.com")600	   || dnsDomainIs(host, "kidsartscrafts.about.com")601	   || dnsDomainIs(host, "kidsastronomy.about.com")602	   || dnsDomainIs(host, "kidscience.about.com")603	   || dnsDomainIs(host, "kidscience.miningco.com")604	   || dnsDomainIs(host, "kidscollecting.about.com")605	   || dnsDomainIs(host, "kidsfun.co.uk")606	   || dnsDomainIs(host, "kidsinternet.about.com")607	   || dnsDomainIs(host, "kidslangarts.about.com")608	   || dnsDomainIs(host, "kidspenpals.about.com")609	   || dnsDomainIs(host, "kitecast.com")610	   || dnsDomainIs(host, "knight.city.ba.k12.md.us")611	   || dnsDomainIs(host, "kodak.com")612	   || dnsDomainIs(host, "kwanzaa4kids.homestead.com")613	   || dnsDomainIs(host, "lagos.africaonline.com")614	   || dnsDomainIs(host, "lancearmstrong.com")615	   || dnsDomainIs(host, "landru.i-link-2.net")616	   || dnsDomainIs(host, "lang.nagoya-u.ac.jp")617	   || dnsDomainIs(host, "lascala.milano.it")618	   || dnsDomainIs(host, "latinoculture.about.com")619	   || dnsDomainIs(host, "litcal.yasuda-u.ac.jp")620	   || dnsDomainIs(host, "littlebit.com")621	   || dnsDomainIs(host, "live.edventures.com")622	   || dnsDomainIs(host, "look.net")623	   || dnsDomainIs(host, "lycoskids.infoplease.com")624	   || dnsDomainIs(host, "lynx.uio.no")625	   || dnsDomainIs(host, "macdict.dict.mq.edu.au")626	   || dnsDomainIs(host, "maori.culture.co.nz")627	   || dnsDomainIs(host, "marktwain.about.com")628	   || dnsDomainIs(host, "marktwain.miningco.com")629	   || dnsDomainIs(host, "mars2030.net")630	   || dnsDomainIs(host, "martin.parasitology.mcgill.ca")631	   || dnsDomainIs(host, "martinlutherking.8m.com")632	   || dnsDomainIs(host, "mastercollector.com")633	   || dnsDomainIs(host, "mathcentral.uregina.ca")634	   || dnsDomainIs(host, "members.aol.com")635	   || dnsDomainIs(host, "members.carol.net")636	   || dnsDomainIs(host, "members.cland.net")637	   || dnsDomainIs(host, "members.cruzio.com")638	   || dnsDomainIs(host, "members.easyspace.com")639	   || dnsDomainIs(host, "members.eisa.net.au")640	   || dnsDomainIs(host, "members.home.net")641	   || dnsDomainIs(host, "members.iinet.net.au")642	   || dnsDomainIs(host, "members.nbci.com")643	   || dnsDomainIs(host, "members.ozemail.com.au")644	   || dnsDomainIs(host, "members.surfsouth.com")645	   || dnsDomainIs(host, "members.theglobe.com")646	   || dnsDomainIs(host, "members.tripod.com")647	   || dnsDomainIs(host, "mexplaza.udg.mx")648	   || dnsDomainIs(host, "mgfx.com")649	   || dnsDomainIs(host, "microimg.com")650	   || dnsDomainIs(host, "midusa.net")651	   || dnsDomainIs(host, "mildan.com")652	   || dnsDomainIs(host, "millennianet.com")653	   || dnsDomainIs(host, "mindbreakers.e-fun.nu")654	   || dnsDomainIs(host, "missjanet.xs4all.nl")655	   || dnsDomainIs(host, "mistral.culture.fr")656	   || dnsDomainIs(host, "mobileation.com")657	   || dnsDomainIs(host, "mrshowbiz.go.com")658	   || dnsDomainIs(host, "ms.simplenet.com")659	   || dnsDomainIs(host, "museum.gov.ns.ca")660	   || dnsDomainIs(host, "music.excite.com")661	   || dnsDomainIs(host, "musicfinder.yahoo.com")662	   || dnsDomainIs(host, "my.freeway.net")663	   || dnsDomainIs(host, "mytrains.com")664	   || dnsDomainIs(host, "nativeauthors.com")665	   || dnsDomainIs(host, "nba.com")666	   || dnsDomainIs(host, "nch.ari.net")667	   || dnsDomainIs(host, "neonpeach.tripod.com")668	   || dnsDomainIs(host, "net.indra.com")669	   || dnsDomainIs(host, "ngeorgia.com")670	   || dnsDomainIs(host, "ngp.ngpc.state.ne.us")671	   || dnsDomainIs(host, "nhd.heinle.com")672	   || dnsDomainIs(host, "nick.com")673	   || dnsDomainIs(host, "normandy.eb.com")674	   || dnsDomainIs(host, "northshore.shore.net")675	   || dnsDomainIs(host, "now2000.com")676	   || dnsDomainIs(host, "npc.nunavut.ca")677	   || dnsDomainIs(host, "ns2.carib-link.net")678	   || dnsDomainIs(host, "ntl.sympatico.ca")679	   || dnsDomainIs(host, "oceanographer.navy.mil")680	   || dnsDomainIs(host, "oddens.geog.uu.nl")681	   || dnsDomainIs(host, "officialcitysites.com")682	   || dnsDomainIs(host, "oneida-nation.net")683	   || dnsDomainIs(host, "onlinegeorgia.com")684	   || dnsDomainIs(host, "originator_2.tripod.com")685	   || dnsDomainIs(host, "ortech-engr.com")686	   || dnsDomainIs(host, "osage.voorhees.k12.nj.us")687	   || dnsDomainIs(host, "osiris.sund.ac.uk")688	   || dnsDomainIs(host, "ourworld.compuserve.com")689	   || dnsDomainIs(host, "outdoorphoto.com")690	   || dnsDomainIs(host, "pages.map.com")691	   || dnsDomainIs(host, "pages.prodigy.com")692	   || dnsDomainIs(host, "pages.prodigy.net")693	   || dnsDomainIs(host, "pages.tca.net")694	   || dnsDomainIs(host, "parcsafari.qc.ca")695	   || dnsDomainIs(host, "parenthoodweb.com")696	   || dnsDomainIs(host, "pathfinder.com")697	   || dnsDomainIs(host, "people.clarityconnect.com")698	   || dnsDomainIs(host, "people.enternet.com.au")699	   || dnsDomainIs(host, "people.ne.mediaone.net")700	   || dnsDomainIs(host, "phonics.jazzles.com")701	   || dnsDomainIs(host, "pibburns.com")702	   || dnsDomainIs(host, "pilgrims.net")703	   || dnsDomainIs(host, "pinenet.com")704	   || dnsDomainIs(host, "place.scholastic.com")705	   || dnsDomainIs(host, "playground.kodak.com")706	   || dnsDomainIs(host, "politicalgraveyard.com")707	   || dnsDomainIs(host, "polk.ga.net")708	   || dnsDomainIs(host, "pompstory.home.mindspring.com")709	   || dnsDomainIs(host, "popularmechanics.com")710	   || dnsDomainIs(host, "projects.edtech.sandi.net")711	   || dnsDomainIs(host, "psyche.usno.navy.mil")712	   || dnsDomainIs(host, "pubweb.parc.xerox.com")713	   || dnsDomainIs(host, "puzzlemaker.school.discovery.com")714	   || dnsDomainIs(host, "quest.classroom.com")715	   || dnsDomainIs(host, "quilting.about.com")716	   || dnsDomainIs(host, "rabbitmoon.home.mindspring.com")717	   || dnsDomainIs(host, "radio.cbc.ca")718	   || dnsDomainIs(host, "rats2u.com")719	   || dnsDomainIs(host, "rbcm1.rbcm.gov.bc.ca")720	   || dnsDomainIs(host, "readplay.com")721	   || dnsDomainIs(host, "recipes4children.homestead.com")722	   || dnsDomainIs(host, "redsox.com")723	   || dnsDomainIs(host, "renaissance.district96.k12.il.us")724	   || dnsDomainIs(host, "rhyme.lycos.com")725	   || dnsDomainIs(host, "rhythmweb.com")726	   || dnsDomainIs(host, "riverresource.com")727	   || dnsDomainIs(host, "rockhoundingar.com")728	   || dnsDomainIs(host, "rockies.mlb.com")729	   || dnsDomainIs(host, "rosecity.net")730	   || dnsDomainIs(host, "rr-vs.informatik.uni-ulm.de")731	   || dnsDomainIs(host, "rubens.anu.edu.au")732	   || dnsDomainIs(host, "rummelplatz.uni-mannheim.de")733	   || dnsDomainIs(host, "sandbox.xerox.com")734	   || dnsDomainIs(host, "sarah.fredart.com")735	   || dnsDomainIs(host, "schmidel.com")736	   || dnsDomainIs(host, "scholastic.com")737	   || dnsDomainIs(host, "school.discovery.com")738	   || dnsDomainIs(host, "schoolcentral.com")739	   || dnsDomainIs(host, "seattletimes.nwsource.com")740	   || dnsDomainIs(host, "sericulum.com")741	   || dnsDomainIs(host, "sf.airforce.com")742	   || dnsDomainIs(host, "shop.usps.com")743	   || dnsDomainIs(host, "showcase.netins.net")744	   || dnsDomainIs(host, "sikids.com")745	   || dnsDomainIs(host, "sites.huji.ac.il")746	   || dnsDomainIs(host, "sjliving.com")747	   || dnsDomainIs(host, "skullduggery.com")748	   || dnsDomainIs(host, "skyways.lib.ks.us")749	   || dnsDomainIs(host, "snowdaymovie.nick.com")750	   || dnsDomainIs(host, "sosa21.hypermart.net")751	   || dnsDomainIs(host, "soundamerica.com")752	   || dnsDomainIs(host, "spaceboy.nasda.go.jp")753	   || dnsDomainIs(host, "sports.nfl.com")754	   || dnsDomainIs(host, "sportsillustrated.cnn.com")755	   || dnsDomainIs(host, "starwars.hasbro.com")756	   || dnsDomainIs(host, "statelibrary.dcr.state.nc.us")757	   || dnsDomainIs(host, "streetplay.com")758	   || dnsDomainIs(host, "sts.gsc.nrcan.gc.ca")759	   || dnsDomainIs(host, "sunniebunniezz.com")760	   || dnsDomainIs(host, "sunsite.nus.edu.sg")761	   || dnsDomainIs(host, "sunsite.sut.ac.jp")762	   || dnsDomainIs(host, "superm.bart.nl")763	   || dnsDomainIs(host, "surf.to")764	   || dnsDomainIs(host, "svinet2.fs.fed.us")765	   || dnsDomainIs(host, "swiminfo.com")766	   || dnsDomainIs(host, "tabletennis.about.com")767	   || dnsDomainIs(host, "teacher.scholastic.com")768	   || dnsDomainIs(host, "theforce.net")769	   || dnsDomainIs(host, "thejessicas.homestead.com")770	   || dnsDomainIs(host, "themes.editthispage.com")771	   || dnsDomainIs(host, "theory.uwinnipeg.ca")772	   || dnsDomainIs(host, "theshadowlands.net")773	   || dnsDomainIs(host, "thinks.com")774	   || dnsDomainIs(host, "thryomanes.tripod.com")775	   || dnsDomainIs(host, "time_zone.tripod.com")776	   || dnsDomainIs(host, "titania.cobuild.collins.co.uk")777	   || dnsDomainIs(host, "torre.duomo.pisa.it")778	   || dnsDomainIs(host, "touregypt.net")779	   || dnsDomainIs(host, "toycollecting.about.com")780	   || dnsDomainIs(host, "trace.ntu.ac.uk")781	   || dnsDomainIs(host, "travelwithkids.about.com")782	   || dnsDomainIs(host, "tukids.tucows.com")783	   || dnsDomainIs(host, "tv.yahoo.com")784	   || dnsDomainIs(host, "tycho.usno.navy.mil")785	   || dnsDomainIs(host, "ubl.artistdirect.com")786	   || dnsDomainIs(host, "uk-pages.net")787	   || dnsDomainIs(host, "ukraine.uazone.net")788	   || dnsDomainIs(host, "unmuseum.mus.pa.us")789	   || dnsDomainIs(host, "us.imdb.com")790	   || dnsDomainIs(host, "userpage.chemie.fu-berlin.de")791	   || dnsDomainIs(host, "userpage.fu-berlin.de")792	   || dnsDomainIs(host, "userpages.aug.com")793	   || dnsDomainIs(host, "users.aol.com")794	   || dnsDomainIs(host, "users.bigpond.net.au")795	   || dnsDomainIs(host, "users.breathemail.net")796	   || dnsDomainIs(host, "users.erols.com")797	   || dnsDomainIs(host, "users.imag.net")798	   || dnsDomainIs(host, "users.inetw.net")799	   || dnsDomainIs(host, "users.massed.net")800	   || dnsDomainIs(host, "users.skynet.be")801	   || dnsDomainIs(host, "users.uniserve.com")802	   || dnsDomainIs(host, "venus.spaceports.com")803	   || dnsDomainIs(host, "vgstrategies.about.com")804	   || dnsDomainIs(host, "victorian.fortunecity.com")805	   || dnsDomainIs(host, "vilenski.com")806	   || dnsDomainIs(host, "village.infoweb.ne.jp")807	   || dnsDomainIs(host, "virtual.finland.fi")808	   || dnsDomainIs(host, "vrml.fornax.hu")809	   || dnsDomainIs(host, "vvv.com")810	   || dnsDomainIs(host, "w1.xrefer.com")811	   || dnsDomainIs(host, "w3.one.net")812	   || dnsDomainIs(host, "w3.rz-berlin.mpg.de")813	   || dnsDomainIs(host, "w3.trib.com")814	   || dnsDomainIs(host, "wallofsound.go.com")815	   || dnsDomainIs(host, "web.aimnet.com")816	   || dnsDomainIs(host, "web.ccsd.k12.wy.us")817	   || dnsDomainIs(host, "web.cs.ualberta.ca")818	   || dnsDomainIs(host, "web.idirect.com")819	   || dnsDomainIs(host, "web.kyoto-inet.or.jp")820	   || dnsDomainIs(host, "web.macam98.ac.il")821	   || dnsDomainIs(host, "web.massvacation.com")822	   || dnsDomainIs(host, "web.one.net.au")823	   || dnsDomainIs(host, "web.qx.net")824	   || dnsDomainIs(host, "web.uvic.ca")825	   || dnsDomainIs(host, "web2.airmail.net")826	   || dnsDomainIs(host, "webcoast.com")827	   || dnsDomainIs(host, "webgames.kalisto.com")828	   || dnsDomainIs(host, "webhome.idirect.com")829	   || dnsDomainIs(host, "webpages.homestead.com")830	   || dnsDomainIs(host, "webrum.uni-mannheim.de")831	   || dnsDomainIs(host, "webusers.anet-stl.com")832	   || dnsDomainIs(host, "welcome.to")833	   || dnsDomainIs(host, "wgntv.com")834	   || dnsDomainIs(host, "whales.magna.com.au")835	   || dnsDomainIs(host, "wildheart.com")836	   || dnsDomainIs(host, "wilstar.net")837	   || dnsDomainIs(host, "winter-wonderland.com")838	   || dnsDomainIs(host, "women.com")839	   || dnsDomainIs(host, "woodrow.mpls.frb.fed.us")840	   || dnsDomainIs(host, "wordzap.com")841	   || dnsDomainIs(host, "worldkids.net")842	   || dnsDomainIs(host, "worldwideguide.net")843	   || dnsDomainIs(host, "ww3.bay.k12.fl.us")844	   || dnsDomainIs(host, "ww3.sportsline.com")845	   || dnsDomainIs(host, "www-groups.dcs.st-and.ac.uk")846	   || dnsDomainIs(host, "www-public.rz.uni-duesseldorf.de")847	   || dnsDomainIs(host, "www.1stkids.com")848	   || dnsDomainIs(host, "www.2020tech.com")849	   || dnsDomainIs(host, "www.21stcenturytoys.com")850	   || dnsDomainIs(host, "www.4adventure.com")851	   || dnsDomainIs(host, "www.50states.com")852	   || dnsDomainIs(host, "www.800padutch.com")853	   || dnsDomainIs(host, "www.88.com")854	   || dnsDomainIs(host, "www.a-better.com")855	   || dnsDomainIs(host, "www.aaa.com.au")856	   || dnsDomainIs(host, "www.aacca.com")857	   || dnsDomainIs(host, "www.aalbc.com")858	   || dnsDomainIs(host, "www.aardman.com")859	   || dnsDomainIs(host, "www.aardvarkelectric.com")860	   || dnsDomainIs(host, "www.aawc.com")861	   || dnsDomainIs(host, "www.ababmx.com")862	   || dnsDomainIs(host, "www.abbeville.com")863	   || dnsDomainIs(host, "www.abc.net.au")864	   || dnsDomainIs(host, "www.abcb.com")865	   || dnsDomainIs(host, "www.abctooncenter.com")866	   || dnsDomainIs(host, "www.about.ch")867	   || dnsDomainIs(host, "www.accessart.org.uk")868	   || dnsDomainIs(host, "www.accu.or.jp")869	   || dnsDomainIs(host, "www.accuweather.com")870	   || dnsDomainIs(host, "www.achuka.co.uk")871	   || dnsDomainIs(host, "www.acmecity.com")872	   || dnsDomainIs(host, "www.acorn-group.com")873	   || dnsDomainIs(host, "www.acs.ucalgary.ca")874	   || dnsDomainIs(host, "www.actden.com")875	   || dnsDomainIs(host, "www.actionplanet.com")876	   || dnsDomainIs(host, "www.activityvillage.co.uk")877	   || dnsDomainIs(host, "www.actwin.com")878	   || dnsDomainIs(host, "www.adequate.com")879	   || dnsDomainIs(host, "www.adidas.com")880	   || dnsDomainIs(host, "www.advent-calendars.com")881	   || dnsDomainIs(host, "www.aegis.com")882	   || dnsDomainIs(host, "www.af.mil")883	   || dnsDomainIs(host, "www.africaindex.africainfo.no")884	   || dnsDomainIs(host, "www.africam.com")885	   || dnsDomainIs(host, "www.africancrafts.com")886	   || dnsDomainIs(host, "www.aggressive.com")887	   || dnsDomainIs(host, "www.aghines.com")888	   || dnsDomainIs(host, "www.agirlsworld.com")889	   || dnsDomainIs(host, "www.agora.stm.it")890	   || dnsDomainIs(host, "www.agriculture.com")891	   || dnsDomainIs(host, "www.aikidofaq.com")892	   || dnsDomainIs(host, "www.ajkids.com")893	   || dnsDomainIs(host, "www.akfkoala.gil.com.au")894	   || dnsDomainIs(host, "www.akhlah.com")895	   || dnsDomainIs(host, "www.alabamainfo.com")896	   || dnsDomainIs(host, "www.aland.fi")897	   || dnsDomainIs(host, "www.albion.com")898	   || dnsDomainIs(host, "www.alcoholismhelp.com")899	   || dnsDomainIs(host, "www.alcottweb.com")900	   || dnsDomainIs(host, "www.alfanet.it")901	   || dnsDomainIs(host, "www.alfy.com")902	   || dnsDomainIs(host, "www.algebra-online.com")903	   || dnsDomainIs(host, "www.alienexplorer.com")904	   || dnsDomainIs(host, "www.aliensatschool.com")905	   || dnsDomainIs(host, "www.all-links.com")906	   || dnsDomainIs(host, "www.alldetroit.com")907	   || dnsDomainIs(host, "www.allexperts.com")908	   || dnsDomainIs(host, "www.allmixedup.com")909	   || dnsDomainIs(host, "www.allmusic.com")910	   || dnsDomainIs(host, "www.almanac.com")911	   || dnsDomainIs(host, "www.almaz.com")912	   || dnsDomainIs(host, "www.almondseed.com")913	   || dnsDomainIs(host, "www.aloha.com")914	   || dnsDomainIs(host, "www.aloha.net")915	   || dnsDomainIs(host, "www.altonweb.com")916	   || dnsDomainIs(host, "www.alyeska-pipe.com")917	   || dnsDomainIs(host, "www.am-wood.com")918	   || dnsDomainIs(host, "www.amazingadventure.com")919	   || dnsDomainIs(host, "www.amazon.com")920	   || dnsDomainIs(host, "www.americancheerleader.com")921	   || dnsDomainIs(host, "www.americancowboy.com")922	   || dnsDomainIs(host, "www.americangirl.com")923	   || dnsDomainIs(host, "www.americanparknetwork.com")924	   || dnsDomainIs(host, "www.americansouthwest.net")925	   || dnsDomainIs(host, "www.americanwest.com")926	   || dnsDomainIs(host, "www.ameritech.net")927	   || dnsDomainIs(host, "www.amtexpo.com")928	   || dnsDomainIs(host, "www.anbg.gov.au")929	   || dnsDomainIs(host, "www.anc.org.za")930	   || dnsDomainIs(host, "www.ancientegypt.co.uk")931	   || dnsDomainIs(host, "www.angelfire.com")932	   || dnsDomainIs(host, "www.angelsbaseball.com")933	   || dnsDomainIs(host, "www.anholt.co.uk")934	   || dnsDomainIs(host, "www.animabets.com")935	   || dnsDomainIs(host, "www.animalnetwork.com")936	   || dnsDomainIs(host, "www.animalpicturesarchive.com")937	   || dnsDomainIs(host, "www.anime-genesis.com")938	   || dnsDomainIs(host, "www.annefrank.com")939	   || dnsDomainIs(host, "www.annefrank.nl")940	   || dnsDomainIs(host, "www.annie75.com")941	   || dnsDomainIs(host, "www.antbee.com")942	   || dnsDomainIs(host, "www.antiquetools.com")943	   || dnsDomainIs(host, "www.antiquetoy.com")944	   || dnsDomainIs(host, "www.anzsbeg.org.au")945	   || dnsDomainIs(host, "www.aol.com")946	   || dnsDomainIs(host, "www.aone.com")947	   || dnsDomainIs(host, "www.aphids.com")948	   || dnsDomainIs(host, "www.apl.com")949	   || dnsDomainIs(host, "www.aplusmath.com")950	   || dnsDomainIs(host, "www.applebookshop.co.uk")951	   || dnsDomainIs(host, "www.appropriatesoftware.com")952	   || dnsDomainIs(host, "www.appukids.com")953	   || dnsDomainIs(host, "www.april-joy.com")954	   || dnsDomainIs(host, "www.arab.net")955	   || dnsDomainIs(host, "www.aracnet.com")956	   || dnsDomainIs(host, "www.arborday.com")957	   || dnsDomainIs(host, "www.arcadevillage.com")958	   || dnsDomainIs(host, "www.archiecomics.com")959	   || dnsDomainIs(host, "www.archives.state.al.us")960	   || dnsDomainIs(host, "www.arctic.ca")961	   || dnsDomainIs(host, "www.ardenjohnson.com")962	   || dnsDomainIs(host, "www.aristotle.net")963	   || dnsDomainIs(host, "www.arizhwys.com")964	   || dnsDomainIs(host, "www.arizonaguide.com")965	   || dnsDomainIs(host, "www.arlingtoncemetery.com")966	   || dnsDomainIs(host, "www.armory.com")967	   || dnsDomainIs(host, "www.armwrestling.com")968	   || dnsDomainIs(host, "www.arnprior.com")969	   || dnsDomainIs(host, "www.artabunga.com")970	   || dnsDomainIs(host, "www.artcarte.com")971	   || dnsDomainIs(host, "www.artchive.com")972	   || dnsDomainIs(host, "www.artcontest.com")973	   || dnsDomainIs(host, "www.artcyclopedia.com")974	   || dnsDomainIs(host, "www.artisandevelopers.com")975	   || dnsDomainIs(host, "www.artlex.com")976	   || dnsDomainIs(host, "www.artsandkids.com")977	   || dnsDomainIs(host, "www.artyastro.com")978	   || dnsDomainIs(host, "www.arwhead.com")979	   || dnsDomainIs(host, "www.asahi-net.or.jp")980	   || dnsDomainIs(host, "www.asap.unimelb.edu.au")981	   || dnsDomainIs(host, "www.ascpl.lib.oh.us")982	   || dnsDomainIs(host, "www.asia-art.net")983	   || dnsDomainIs(host, "www.asiabigtime.com")984	   || dnsDomainIs(host, "www.asianart.com")985	   || dnsDomainIs(host, "www.asiatour.com")986	   || dnsDomainIs(host, "www.asiaweek.com")987	   || dnsDomainIs(host, "www.askanexpert.com")988	   || dnsDomainIs(host, "www.askbasil.com")989	   || dnsDomainIs(host, "www.assa.org.au")990	   || dnsDomainIs(host, "www.ast.cam.ac.uk")991	   || dnsDomainIs(host, "www.astronomy.com")992	   || dnsDomainIs(host, "www.astros.com")993	   || dnsDomainIs(host, "www.atek.com")994	   || dnsDomainIs(host, "www.athlete.com")995	   || dnsDomainIs(host, "www.athropolis.com")996	   || dnsDomainIs(host, "www.atkielski.com")997	   || dnsDomainIs(host, "www.atlantabraves.com")998	   || dnsDomainIs(host, "www.atlantafalcons.com")999	   || dnsDomainIs(host, "www.atlantathrashers.com")1000	   || dnsDomainIs(host, "www.atlanticus.com")1001	   || dnsDomainIs(host, "www.atm.ch.cam.ac.uk")1002	   || dnsDomainIs(host, "www.atom.co.jp")1003	   || dnsDomainIs(host, "www.atomicarchive.com")1004	   || dnsDomainIs(host, "www.att.com")1005	   || dnsDomainIs(host, "www.audreywood.com")1006	   || dnsDomainIs(host, "www.auntannie.com")1007	   || dnsDomainIs(host, "www.auntie.com")1008	   || dnsDomainIs(host, "www.avi-writer.com")1009	   || dnsDomainIs(host, "www.awesomeclipartforkids.com")1010	   || dnsDomainIs(host, "www.awhitehorse.com")1011	   || dnsDomainIs(host, "www.axess.com")1012	   || dnsDomainIs(host, "www.ayles.com")1013	   || dnsDomainIs(host, "www.ayn.ca")1014	   || dnsDomainIs(host, "www.azcardinals.com")1015	   || dnsDomainIs(host, "www.azdiamondbacks.com")1016	   || dnsDomainIs(host, "www.azsolarcenter.com")1017	   || dnsDomainIs(host, "www.azstarnet.com")1018	   || dnsDomainIs(host, "www.aztecafoods.com")1019	   || dnsDomainIs(host, "www.b-witched.com")1020	   || dnsDomainIs(host, "www.baberuthmuseum.com")1021	   || dnsDomainIs(host, "www.backstreetboys.com")1022	   || dnsDomainIs(host, "www.bagheera.com")1023	   || dnsDomainIs(host, "www.bahamas.com")1024	   || dnsDomainIs(host, "www.baileykids.com")1025	   || dnsDomainIs(host, "www.baldeagleinfo.com")1026	   || dnsDomainIs(host, "www.balloonhq.com")1027	   || dnsDomainIs(host, "www.balloonzone.com")1028	   || dnsDomainIs(host, "www.ballparks.com")1029	   || dnsDomainIs(host, "www.balmoralsoftware.com")1030	   || dnsDomainIs(host, "www.banja.com")1031	   || dnsDomainIs(host, "www.banph.com")1032	   || dnsDomainIs(host, "www.barbie.com")1033	   || dnsDomainIs(host, "www.barkingbuddies.com")1034	   || dnsDomainIs(host, "www.barnsdle.demon.co.uk")1035	   || dnsDomainIs(host, "www.barrysclipart.com")1036	   || dnsDomainIs(host, "www.bartleby.com")1037	   || dnsDomainIs(host, "www.baseplate.com")1038	   || dnsDomainIs(host, "www.batman-superman.com")1039	   || dnsDomainIs(host, "www.batmanbeyond.com")1040	   || dnsDomainIs(host, "www.bbc.co.uk")1041	   || dnsDomainIs(host, "www.bbhighway.com")1042	   || dnsDomainIs(host, "www.bboy.com")1043	   || dnsDomainIs(host, "www.bcit.tec.nj.us")1044	   || dnsDomainIs(host, "www.bconnex.net")1045	   || dnsDomainIs(host, "www.bcpl.net")1046	   || dnsDomainIs(host, "www.beach-net.com")1047	   || dnsDomainIs(host, "www.beachboys.com")1048	   || dnsDomainIs(host, "www.beakman.com")1049	   || dnsDomainIs(host, "www.beano.co.uk")1050	   || dnsDomainIs(host, "www.beans.demon.co.uk")1051	   || dnsDomainIs(host, "www.beartime.com")1052	   || dnsDomainIs(host, "www.bearyspecial.co.uk")1053	   || dnsDomainIs(host, "www.bedtime.com")1054	   || dnsDomainIs(host, "www.beingme.com")1055	   || dnsDomainIs(host, "www.belizeexplorer.com")1056	   || dnsDomainIs(host, "www.bell-labs.com")1057	   || dnsDomainIs(host, "www.bemorecreative.com")1058	   || dnsDomainIs(host, "www.bengals.com")1059	   || dnsDomainIs(host, "www.benjerry.com")1060	   || dnsDomainIs(host, "www.bennygoodsport.com")1061	   || dnsDomainIs(host, "www.berenstainbears.com")1062	   || dnsDomainIs(host, "www.beringia.com")1063	   || dnsDomainIs(host, "www.beritsbest.com")1064	   || dnsDomainIs(host, "www.berksweb.com")1065	   || dnsDomainIs(host, "www.best.com")1066	   || dnsDomainIs(host, "www.betsybyars.com")1067	   || dnsDomainIs(host, "www.bfro.net")1068	   || dnsDomainIs(host, "www.bgmm.com")1069	   || dnsDomainIs(host, "www.bibliography.com")1070	   || dnsDomainIs(host, "www.bigblue.com.au")1071	   || dnsDomainIs(host, "www.bigchalk.com")1072	   || dnsDomainIs(host, "www.bigidea.com")1073	   || dnsDomainIs(host, "www.bigtop.com")1074	   || dnsDomainIs(host, "www.bikecrawler.com")1075	   || dnsDomainIs(host, "www.billboard.com")1076	   || dnsDomainIs(host, "www.billybear4kids.com")1077	   || dnsDomainIs(host, "www.biography.com")1078	   || dnsDomainIs(host, "www.birdnature.com")1079	   || dnsDomainIs(host, "www.birdsnways.com")1080	   || dnsDomainIs(host, "www.birdtimes.com")1081	   || dnsDomainIs(host, "www.birminghamzoo.com")1082	   || dnsDomainIs(host, "www.birthdaypartyideas.com")1083	   || dnsDomainIs(host, "www.bis.arachsys.com")1084	   || dnsDomainIs(host, "www.bkgm.com")1085	   || dnsDomainIs(host, "www.blackbaseball.com")1086	   || dnsDomainIs(host, "www.blackbeardthepirate.com")1087	   || dnsDomainIs(host, "www.blackbeltmag.com")1088	   || dnsDomainIs(host, "www.blackfacts.com")1089	   || dnsDomainIs(host, "www.blackfeetnation.com")1090	   || dnsDomainIs(host, "www.blackhills-info.com")1091	   || dnsDomainIs(host, "www.blackholegang.com")1092	   || dnsDomainIs(host, "www.blaque.net")1093	   || dnsDomainIs(host, "www.blarg.net")1094	   || dnsDomainIs(host, "www.blasternaut.com")1095	   || dnsDomainIs(host, "www.blizzard.com")1096	   || dnsDomainIs(host, "www.blocksite.com")1097	   || dnsDomainIs(host, "www.bluejackets.com")1098	   || dnsDomainIs(host, "www.bluejays.ca")1099	   || dnsDomainIs(host, "www.bluemountain.com")1100	   || dnsDomainIs(host, "www.blupete.com")1101	   || dnsDomainIs(host, "www.blyton.co.uk")1102	   || dnsDomainIs(host, "www.boatnerd.com")1103	   || dnsDomainIs(host, "www.boatsafe.com")1104	   || dnsDomainIs(host, "www.bonus.com")1105	   || dnsDomainIs(host, "www.boowakwala.com")1106	   || dnsDomainIs(host, "www.bostonbruins.com")1107	   || dnsDomainIs(host, "www.braceface.com")1108	   || dnsDomainIs(host, "www.bracesinfo.com")1109	   || dnsDomainIs(host, "www.bradkent.com")1110	   || dnsDomainIs(host, "www.brainium.com")1111	   || dnsDomainIs(host, "www.brainmania.com")1112	   || dnsDomainIs(host, "www.brainpop.com")1113	   || dnsDomainIs(host, "www.bridalcave.com")1114	   || dnsDomainIs(host, "www.brightmoments.com")1115	   || dnsDomainIs(host, "www.britannia.com")1116	   || dnsDomainIs(host, "www.britannica.com")1117	   || dnsDomainIs(host, "www.british-museum.ac.uk")1118	   || dnsDomainIs(host, "www.brookes.ac.uk")1119	   || dnsDomainIs(host, "www.brookfieldreader.com")1120	   || dnsDomainIs(host, "www.btinternet.com")1121	   || dnsDomainIs(host, "www.bubbledome.co.nz")1122	   || dnsDomainIs(host, "www.buccaneers.com")1123	   || dnsDomainIs(host, "www.buffy.com")1124	   || dnsDomainIs(host, "www.bullying.co.uk")1125	   || dnsDomainIs(host, "www.bumply.com")1126	   || dnsDomainIs(host, "www.bungi.com")1127	   || dnsDomainIs(host, "www.burlco.lib.nj.us")1128	   || dnsDomainIs(host, "www.burlingamepezmuseum.com")1129	   || dnsDomainIs(host, "www.bus.ualberta.ca")1130	   || dnsDomainIs(host, "www.busprod.com")1131	   || dnsDomainIs(host, "www.butlerart.com")1132	   || dnsDomainIs(host, "www.butterflies.com")1133	   || dnsDomainIs(host, "www.butterflyfarm.co.cr")1134	   || dnsDomainIs(host, "www.bway.net")1135	   || dnsDomainIs(host, "www.bydonovan.com")1136	   || dnsDomainIs(host, "www.ca-mall.com")1137	   || dnsDomainIs(host, "www.cabinessence.com")1138	   || dnsDomainIs(host, "www.cablecarmuseum.com")1139	   || dnsDomainIs(host, "www.cadbury.co.uk")1140	   || dnsDomainIs(host, "www.calendarzone.com")1141	   || dnsDomainIs(host, "www.calgaryflames.com")1142	   || dnsDomainIs(host, "www.californiamissions.com")1143	   || dnsDomainIs(host, "www.camalott.com")1144	   || dnsDomainIs(host, "www.camelotintl.com")1145	   || dnsDomainIs(host, "www.campbellsoup.com")1146	   || dnsDomainIs(host, "www.camvista.com")1147	   || dnsDomainIs(host, "www.canadiens.com")1148	   || dnsDomainIs(host, "www.canals.state.ny.us")1149	   || dnsDomainIs(host, "www.candlelightstories.com")1150	   || dnsDomainIs(host, "www.candles-museum.com")1151	   || dnsDomainIs(host, "www.candystand.com")1152	   || dnsDomainIs(host, "www.caneshockey.com")1153	   || dnsDomainIs(host, "www.canismajor.com")1154	   || dnsDomainIs(host, "www.canucks.com")1155	   || dnsDomainIs(host, "www.capecod.net")1156	   || dnsDomainIs(host, "www.capital.net")1157	   || dnsDomainIs(host, "www.capstonestudio.com")1158	   || dnsDomainIs(host, "www.cardblvd.com")1159	   || dnsDomainIs(host, "www.caro.net")1160	   || dnsDomainIs(host, "www.carolhurst.com")1161	   || dnsDomainIs(host, "www.carr.lib.md.us")1162	   || dnsDomainIs(host, "www.cartooncorner.com")1163	   || dnsDomainIs(host, "www.cartooncritters.com")1164	   || dnsDomainIs(host, "www.cartoonnetwork.com")1165	   || dnsDomainIs(host, "www.carvingpatterns.com")1166	   || dnsDomainIs(host, "www.cashuniversity.com")1167	   || dnsDomainIs(host, "www.castles-of-britain.com")1168	   || dnsDomainIs(host, "www.castlewales.com")1169	   || dnsDomainIs(host, "www.catholic-forum.com")1170	   || dnsDomainIs(host, "www.catholic.net")1171	   || dnsDomainIs(host, "www.cattle.guelph.on.ca")1172	   || dnsDomainIs(host, "www.cavedive.com")1173	   || dnsDomainIs(host, "www.caveofthewinds.com")1174	   || dnsDomainIs(host, "www.cbc4kids.ca")1175	   || dnsDomainIs(host, "www.ccer.ggl.ruu.nl")1176	   || dnsDomainIs(host, "www.ccnet.com")1177	   || dnsDomainIs(host, "www.celineonline.com")1178	   || dnsDomainIs(host, "www.cellsalive.com")1179	   || dnsDomainIs(host, "www.centuryinshoes.com")1180	   || dnsDomainIs(host, "www.cfl.ca")1181	   || dnsDomainIs(host, "www.channel4.com")1182	   || dnsDomainIs(host, "www.channel8.net")1183	   || dnsDomainIs(host, "www.chanukah99.com")1184	   || dnsDomainIs(host, "www.charged.com")1185	   || dnsDomainIs(host, "www.chargers.com")1186	   || dnsDomainIs(host, "www.charlotte.com")1187	   || dnsDomainIs(host, "www.chaseday.com")1188	   || dnsDomainIs(host, "www.chateauversailles.fr")1189	   || dnsDomainIs(host, "www.cheatcc.com")1190	   || dnsDomainIs(host, "www.cheerleading.net")1191	   || dnsDomainIs(host, "www.cheese.com")1192	   || dnsDomainIs(host, "www.chem4kids.com")1193	   || dnsDomainIs(host, "www.chemicool.com")1194	   || dnsDomainIs(host, "www.cherbearsden.com")1195	   || dnsDomainIs(host, "www.chesskids.com")1196	   || dnsDomainIs(host, "www.chessvariants.com")1197	   || dnsDomainIs(host, "www.cheungswingchun.com")1198	   || dnsDomainIs(host, "www.chevroncars.com")1199	   || dnsDomainIs(host, "www.chibi.simplenet.com")1200	   || dnsDomainIs(host, "www.chicagobears.com")1201	   || dnsDomainIs(host, "www.chicagoblackhawks.com")1202	   || dnsDomainIs(host, "www.chickasaw.net")1203	   || dnsDomainIs(host, "www.childrensmusic.co.uk")1204	   || dnsDomainIs(host, "www.childrenssoftware.com")1205	   || dnsDomainIs(host, "www.childrenstory.com")1206	   || dnsDomainIs(host, "www.childrenwithdiabetes.com")1207	   || dnsDomainIs(host, "www.chinapage.com")1208	   || dnsDomainIs(host, "www.chinatoday.com")1209	   || dnsDomainIs(host, "www.chinavista.com")1210	   || dnsDomainIs(host, "www.chinnet.net")1211	   || dnsDomainIs(host, "www.chiquita.com")1212	   || dnsDomainIs(host, "www.chisox.com")1213	   || dnsDomainIs(host, "www.chivalry.com")1214	   || dnsDomainIs(host, "www.christiananswers.net")1215	   || dnsDomainIs(host, "www.christianity.com")1216	   || dnsDomainIs(host, "www.christmas.com")1217	   || dnsDomainIs(host, "www.christmas98.com")1218	   || dnsDomainIs(host, "www.chron.com")1219	   || dnsDomainIs(host, "www.chronique.com")1220	   || dnsDomainIs(host, "www.chuckecheese.com")1221	   || dnsDomainIs(host, "www.chucklebait.com")1222	   || dnsDomainIs(host, "www.chunkymonkey.com")1223	   || dnsDomainIs(host, "www.ci.chi.il.us")1224	   || dnsDomainIs(host, "www.ci.nyc.ny.us")1225	   || dnsDomainIs(host, "www.ci.phoenix.az.us")1226	   || dnsDomainIs(host, "www.ci.san-diego.ca.us")1227	   || dnsDomainIs(host, "www.cibc.com")1228	   || dnsDomainIs(host, "www.ciderpresspottery.com")1229	   || dnsDomainIs(host, "www.cincinnatireds.com")1230	   || dnsDomainIs(host, "www.circusparade.com")1231	   || dnsDomainIs(host, "www.circusweb.com")1232	   || dnsDomainIs(host, "www.cirquedusoleil.com")1233	   || dnsDomainIs(host, "www.cit.state.vt.us")1234	   || dnsDomainIs(host, "www.citycastles.com")1235	   || dnsDomainIs(host, "www.cityu.edu.hk")1236	   || dnsDomainIs(host, "www.civicmind.com")1237	   || dnsDomainIs(host, "www.civil-war.net")1238	   || dnsDomainIs(host, "www.civilization.ca")1239	   || dnsDomainIs(host, "www.cl.cam.ac.uk")1240	   || dnsDomainIs(host, "www.clantongang.com")1241	   || dnsDomainIs(host, "www.clark.net")1242	   || dnsDomainIs(host, "www.classicgaming.com")1243	   || dnsDomainIs(host, "www.claus.com")1244	   || dnsDomainIs(host, "www.clayz.com")1245	   || dnsDomainIs(host, "www.clearcf.uvic.ca")1246	   || dnsDomainIs(host, "www.clearlight.com")1247	   || dnsDomainIs(host, "www.clemusart.com")1248	   || dnsDomainIs(host, "www.clevelandbrowns.com")1249	   || dnsDomainIs(host, "www.clipartcastle.com")1250	   || dnsDomainIs(host, "www.clubi.ie")1251	   || dnsDomainIs(host, "www.cnn.com")1252	   || dnsDomainIs(host, "www.co.henrico.va.us")1253	   || dnsDomainIs(host, "www.coax.net")1254	   || dnsDomainIs(host, "www.cocacola.com")1255	   || dnsDomainIs(host, "www.cocori.com")1256	   || dnsDomainIs(host, "www.codesmiths.com")1257	   || dnsDomainIs(host, "www.codetalk.fed.us")1258	   || dnsDomainIs(host, "www.coin-gallery.com")1259	   || dnsDomainIs(host, "www.colinthompson.com")1260	   || dnsDomainIs(host, "www.collectoronline.com")1261	   || dnsDomainIs(host, "www.colonialhall.com")1262	   || dnsDomainIs(host, "www.coloradoavalanche.com")1263	   || dnsDomainIs(host, "www.coloradorockies.com")1264	   || dnsDomainIs(host, "www.colormathpink.com")1265	   || dnsDomainIs(host, "www.colts.com")1266	   || dnsDomainIs(host, "www.comet.net")1267	   || dnsDomainIs(host, "www.cometsystems.com")1268	   || dnsDomainIs(host, "www.comicbookresources.com")1269	   || dnsDomainIs(host, "www.comicspage.com")1270	   || dnsDomainIs(host, "www.compassnet.com")1271	   || dnsDomainIs(host, "www.compleatbellairs.com")1272	   || dnsDomainIs(host, "www.comptons.com")1273	   || dnsDomainIs(host, "www.concentric.net")1274	   || dnsDomainIs(host, "www.congogorillaforest.com")1275	   || dnsDomainIs(host, "www.conjuror.com")1276	   || dnsDomainIs(host, "www.conk.com")1277	   || dnsDomainIs(host, "www.conservation.state.mo.us")1278	   || dnsDomainIs(host, "www.contracostatimes.com")1279	   || dnsDomainIs(host, "www.control.chalmers.se")1280	   || dnsDomainIs(host, "www.cookierecipe.com")1281	   || dnsDomainIs(host, "www.cooljapanesetoys.com")1282	   || dnsDomainIs(host, "www.cooper.com")1283	   || dnsDomainIs(host, "www.corpcomm.net")1284	   || dnsDomainIs(host, "www.corrietenboom.com")1285	   || dnsDomainIs(host, "www.corynet.com")1286	   || dnsDomainIs(host, "www.corypaints.com")1287	   || dnsDomainIs(host, "www.cosmosmith.com")1288	   || dnsDomainIs(host, "www.countdown2000.com")1289	   || dnsDomainIs(host, "www.cowboy.net")1290	   || dnsDomainIs(host, "www.cowboypal.com")1291	   || dnsDomainIs(host, "www.cowcreek.com")1292	   || dnsDomainIs(host, "www.cowgirl.net")1293	   || dnsDomainIs(host, "www.cowgirls.com")1294	   || dnsDomainIs(host, "www.cp.duluth.mn.us")1295	   || dnsDomainIs(host, "www.cpsweb.com")1296	   || dnsDomainIs(host, "www.craftideas.com")1297	   || dnsDomainIs(host, "www.craniamania.com")1298	   || dnsDomainIs(host, "www.crater.lake.national-park.com")1299	   || dnsDomainIs(host, "www.crayoncrawler.com")1300	   || dnsDomainIs(host, "www.crazybone.com")1301	   || dnsDomainIs(host, "www.crazybones.com")1302	   || dnsDomainIs(host, "www.crd.ge.com")1303	   || dnsDomainIs(host, "www.create4kids.com")1304	   || dnsDomainIs(host, "www.creativemusic.com")1305	   || dnsDomainIs(host, "www.crocodilian.com")1306	   || dnsDomainIs(host, "www.crop.cri.nz")1307	   || dnsDomainIs(host, "www.cruzio.com")1308	   || dnsDomainIs(host, "www.crwflags.com")1309	   || dnsDomainIs(host, "www.cryptograph.com")1310	   || dnsDomainIs(host, "www.cryst.bbk.ac.uk")1311	   || dnsDomainIs(host, "www.cs.bilkent.edu.tr")1312	   || dnsDomainIs(host, "www.cs.man.ac.uk")1313	   || dnsDomainIs(host, "www.cs.sfu.ca")1314	   || dnsDomainIs(host, "www.cs.ubc.ca")1315	   || dnsDomainIs(host, "www.csd.uu.se")1316	   || dnsDomainIs(host, "www.csmonitor.com")1317	   || dnsDomainIs(host, "www.csse.monash.edu.au")1318	   || dnsDomainIs(host, "www.cstone.net")1319	   || dnsDomainIs(host, "www.csu.edu.au")1320	   || dnsDomainIs(host, "www.cubs.com")1321	   || dnsDomainIs(host, "www.culture.fr")1322	   || dnsDomainIs(host, "www.cultures.com")1323	   || dnsDomainIs(host, "www.curtis-collection.com")1324	   || dnsDomainIs(host, "www.cut-the-knot.com")1325	   || dnsDomainIs(host, "www.cws-scf.ec.gc.ca")1326	   || dnsDomainIs(host, "www.cyber-dyne.com")1327	   || dnsDomainIs(host, "www.cyberbee.com")1328	   || dnsDomainIs(host, "www.cyberbee.net")1329	   || dnsDomainIs(host, "www.cybercom.net")1330	   || dnsDomainIs(host, "www.cybercomm.net")1331	   || dnsDomainIs(host, "www.cybercomm.nl")1332	   || dnsDomainIs(host, "www.cybercorp.co.nz")1333	   || dnsDomainIs(host, "www.cybercs.com")1334	   || dnsDomainIs(host, "www.cybergoal.com")1335	   || dnsDomainIs(host, "www.cyberkids.com")1336	   || dnsDomainIs(host, "www.cyberspaceag.com")1337	   || dnsDomainIs(host, "www.cyberteens.com")1338	   || dnsDomainIs(host, "www.cybertours.com")1339	   || dnsDomainIs(host, "www.cybiko.com")1340	   || dnsDomainIs(host, "www.czweb.com")1341	   || dnsDomainIs(host, "www.d91.k12.id.us")1342	   || dnsDomainIs(host, "www.dailygrammar.com")1343	   || dnsDomainIs(host, "www.dakidz.com")1344	   || dnsDomainIs(host, "www.dalejarrettonline.com")1345	   || dnsDomainIs(host, "www.dallascowboys.com")1346	   || dnsDomainIs(host, "www.dallasdogndisc.com")1347	   || dnsDomainIs(host, "www.dallasstars.com")1348	   || dnsDomainIs(host, "www.damnyankees.com")1349	   || dnsDomainIs(host, "www.danceart.com")1350	   || dnsDomainIs(host, "www.daniellesplace.com")1351	   || dnsDomainIs(host, "www.dare-america.com")1352	   || dnsDomainIs(host, "www.darkfish.com")1353	   || dnsDomainIs(host, "www.darsbydesign.com")1354	   || dnsDomainIs(host, "www.datadragon.com")1355	   || dnsDomainIs(host, "www.davidreilly.com")1356	   || dnsDomainIs(host, "www.dccomics.com")1357	   || dnsDomainIs(host, "www.dcn.davis.ca.us")1358	   || dnsDomainIs(host, "www.deepseaworld.com")1359	   || dnsDomainIs(host, "www.delawaretribeofindians.nsn.us")1360	   || dnsDomainIs(host, "www.demon.co.uk")1361	   || dnsDomainIs(host, "www.denverbroncos.com")1362	   || dnsDomainIs(host, "www.denverpost.com")1363	   || dnsDomainIs(host, "www.dep.state.pa.us")1364	   || dnsDomainIs(host, "www.desert-fairy.com")1365	   || dnsDomainIs(host, "www.desert-storm.com")1366	   || dnsDomainIs(host, "www.desertusa.com")1367	   || dnsDomainIs(host, "www.designltd.com")1368	   || dnsDomainIs(host, "www.designsbykat.com")1369	   || dnsDomainIs(host, "www.detnews.com")1370	   || dnsDomainIs(host, "www.detroitlions.com")1371	   || dnsDomainIs(host, "www.detroitredwings.com")1372	   || dnsDomainIs(host, "www.detroittigers.com")1373	   || dnsDomainIs(host, "www.deutsches-museum.de")1374	   || dnsDomainIs(host, "www.devilray.com")1375	   || dnsDomainIs(host, "www.dhorse.com")1376	   || dnsDomainIs(host, "www.diana-ross.co.uk")1377	   || dnsDomainIs(host, "www.dianarossandthesupremes.net")1378	   || dnsDomainIs(host, "www.diaryproject.com")1379	   || dnsDomainIs(host, "www.dickbutkus.com")1380	   || dnsDomainIs(host, "www.dickshovel.com")1381	   || dnsDomainIs(host, "www.dictionary.com")1382	   || dnsDomainIs(host, "www.didyouknow.com")1383	   || dnsDomainIs(host, "www.diegorivera.com")1384	   || dnsDomainIs(host, "www.digitalcentury.com")1385	   || dnsDomainIs(host, "www.digitaldog.com")1386	   || dnsDomainIs(host, "www.digiweb.com")1387	   || dnsDomainIs(host, "www.dimdima.com")1388	   || dnsDomainIs(host, "www.dinodon.com")1389	   || dnsDomainIs(host, "www.dinosauria.com")1390	   || dnsDomainIs(host, "www.discovereso.com")1391	   || dnsDomainIs(host, "www.discovergalapagos.com")1392	   || dnsDomainIs(host, "www.discovergames.com")1393	   || dnsDomainIs(host, "www.discoveringarchaeology.com")1394	   || dnsDomainIs(host, "www.discoveringmontana.com")1395	   || dnsDomainIs(host, "www.discoverlearning.com")1396	   || dnsDomainIs(host, "www.discovery.com")1397	   || dnsDomainIs(host, "www.disknet.com")1398	   || dnsDomainIs(host, "www.disney.go.com")1399	   || dnsDomainIs(host, "www.distinguishedwomen.com")1400	   || dnsDomainIs(host, "www.dkonline.com")1401	   || dnsDomainIs(host, "www.dltk-kids.com")1402	   || dnsDomainIs(host, "www.dmgi.com")1403	   || dnsDomainIs(host, "www.dnr.state.md.us")1404	   || dnsDomainIs(host, "www.dnr.state.mi.us")1405	   || dnsDomainIs(host, "www.dnr.state.wi.us")1406	   || dnsDomainIs(host, "www.dodgers.com")1407	   || dnsDomainIs(host, "www.dodoland.com")1408	   || dnsDomainIs(host, "www.dog-play.com")1409	   || dnsDomainIs(host, "www.dogbreedinfo.com")1410	   || dnsDomainIs(host, "www.doginfomat.com")1411	   || dnsDomainIs(host, "www.dole5aday.com")1412	   || dnsDomainIs(host, "www.dollart.com")1413	   || dnsDomainIs(host, "www.dolliedish.com")1414	   || dnsDomainIs(host, "www.dome2000.co.uk")1415	   || dnsDomainIs(host, "www.domtar.com")1416	   || dnsDomainIs(host, "www.donegal.k12.pa.us")1417	   || dnsDomainIs(host, "www.dorneypark.com")1418	   || dnsDomainIs(host, "www.dorothyhinshawpatent.com")1419	   || dnsDomainIs(host, "www.dougweb.com")1420	   || dnsDomainIs(host, "www.dps.state.ak.us")1421	   || dnsDomainIs(host, "www.draw3d.com")1422	   || dnsDomainIs(host, "www.dreamgate.com")1423	   || dnsDomainIs(host, "www.dreamkitty.com")1424	   || dnsDomainIs(host, "www.dreamscape.com")1425	   || dnsDomainIs(host, "www.dreamtime.net.au")1426	   || dnsDomainIs(host, "www.drpeppermuseum.com")1427	   || dnsDomainIs(host, "www.drscience.com")1428	   || dnsDomainIs(host, "www.drseward.com")1429	   || dnsDomainIs(host, "www.drtoy.com")1430	   || dnsDomainIs(host, "www.dse.nl")1431	   || dnsDomainIs(host, "www.dtic.mil")1432	   || dnsDomainIs(host, "www.duracell.com")1433	   || dnsDomainIs(host, "www.dustbunny.com")1434	   || dnsDomainIs(host, "www.dynanet.com")1435	   || dnsDomainIs(host, "www.eagerreaders.com")1436	   || dnsDomainIs(host, "www.eaglekids.com")1437	   || dnsDomainIs(host, "www.earthcalendar.net")1438	   || dnsDomainIs(host, "www.earthday.net")1439	   || dnsDomainIs(host, "www.earthdog.com")1440	   || dnsDomainIs(host, "www.earthwatch.com")1441	   || dnsDomainIs(host, "www.ease.com")1442	   || dnsDomainIs(host, "www.eastasia.ws")1443	   || dnsDomainIs(host, "www.easytype.com")1444	   || dnsDomainIs(host, "www.eblewis.com")1445	   || dnsDomainIs(host, "www.ebs.hw.ac.uk")1446	   || dnsDomainIs(host, "www.eclipse.net")1447	   || dnsDomainIs(host, "www.eco-pros.com")1448	   || dnsDomainIs(host, "www.edbydesign.com")1449	   || dnsDomainIs(host, "www.eddytheeco-dog.com")1450	   || dnsDomainIs(host, "www.edgate.com")1451	   || dnsDomainIs(host, "www.edmontonoilers.com")1452	   || dnsDomainIs(host, "www.edu-source.com")1453	   || dnsDomainIs(host, "www.edu.gov.on.ca")1454	   || dnsDomainIs(host, "www.edu4kids.com")1455	   || dnsDomainIs(host, "www.educ.uvic.ca")1456	   || dnsDomainIs(host, "www.educate.org.uk")1457	   || dnsDomainIs(host, "www.education-world.com")1458	   || dnsDomainIs(host, "www.edunet.com")1459	   || dnsDomainIs(host, "www.eduplace.com")1460	   || dnsDomainIs(host, "www.edupuppy.com")1461	   || dnsDomainIs(host, "www.eduweb.com")1462	   || dnsDomainIs(host, "www.ee.ryerson.ca")1463	   || dnsDomainIs(host, "www.ee.surrey.ac.uk")1464	   || dnsDomainIs(host, "www.eeggs.com")1465	   || dnsDomainIs(host, "www.efes.com")1466	   || dnsDomainIs(host, "www.egalvao.com")1467	   || dnsDomainIs(host, "www.egypt.com")1468	   || dnsDomainIs(host, "www.egyptology.com")1469	   || dnsDomainIs(host, "www.ehobbies.com")1470	   || dnsDomainIs(host, "www.ehow.com")1471	   || dnsDomainIs(host, "www.eia.brad.ac.uk")1472	   || dnsDomainIs(host, "www.elbalero.gob.mx")1473	   || dnsDomainIs(host, "www.eliki.com")1474	   || dnsDomainIs(host, "www.elnino.com")1475	   || dnsDomainIs(host, "www.elok.com")1476	   || dnsDomainIs(host, "www.emf.net")1477	   || dnsDomainIs(host, "www.emsphone.com")1478	   || dnsDomainIs(host, "www.emulateme.com")1479	   || dnsDomainIs(host, "www.en.com")1480	   || dnsDomainIs(host, "www.enature.com")1481	   || dnsDomainIs(host, "www.enchantedlearning.com")1482	   || dnsDomainIs(host, "www.encyclopedia.com")1483	   || dnsDomainIs(host, "www.endex.com")1484	   || dnsDomainIs(host, "www.enjoyillinois.com")1485	   || dnsDomainIs(host, "www.enn.com")1486	   || dnsDomainIs(host, "www.enriqueig.com")1487	   || dnsDomainIs(host, "www.enteract.com")1488	   || dnsDomainIs(host, "www.epals.com")1489	   || dnsDomainIs(host, "www.equine-world.co.uk")1490	   || dnsDomainIs(host, "www.eric-carle.com")1491	   || dnsDomainIs(host, "www.ericlindros.net")1492	   || dnsDomainIs(host, "www.escape.com")1493	   || dnsDomainIs(host, "www.eskimo.com")1494	   || dnsDomainIs(host, "www.essentialsofmusic.com")1495	   || dnsDomainIs(host, "www.etch-a-sketch.com")1496	   || dnsDomainIs(host, "www.ethanallen.together.com")1497	   || dnsDomainIs(host, "www.etoys.com")1498	   || dnsDomainIs(host, "www.eurekascience.com")1499	   || dnsDomainIs(host, "www.euronet.nl")1500	   || dnsDomainIs(host, "www.everyrule.com")1501	   || dnsDomainIs(host, "www.ex.ac.uk")1502	   || dnsDomainIs(host, "www.excite.com")1503	   || dnsDomainIs(host, "www.execpc.com")1504	   || dnsDomainIs(host, "www.execulink.com")1505	   || dnsDomainIs(host, "www.exn.net")1506	   || dnsDomainIs(host, "www.expa.hvu.nl")1507	   || dnsDomainIs(host, "www.expage.com")1508	   || dnsDomainIs(host, "www.explode.to")1509	   || dnsDomainIs(host, "www.explorescience.com")1510	   || dnsDomainIs(host, "www.explorezone.com")1511	   || dnsDomainIs(host, "www.extremescience.com")1512	   || dnsDomainIs(host, "www.eyelid.co.uk")1513	   || dnsDomainIs(host, "www.eyeneer.com")1514	   || dnsDomainIs(host, "www.eyesofachild.com")1515	   || dnsDomainIs(host, "www.eyesofglory.com")1516	   || dnsDomainIs(host, "www.ezschool.com")1517	   || dnsDomainIs(host, "www.f1-live.com")1518	   || dnsDomainIs(host, "www.fables.co.uk")1519	   || dnsDomainIs(host, "www.factmonster.com")1520	   || dnsDomainIs(host, "www.fairygodmother.com")1521	   || dnsDomainIs(host, "www.familybuzz.com")1522	   || dnsDomainIs(host, "www.familygames.com")1523	   || dnsDomainIs(host, "www.familygardening.com")1524	   || dnsDomainIs(host, "www.familyinternet.com")1525	   || dnsDomainIs(host, "www.familymoney.com")1526	   || dnsDomainIs(host, "www.familyplay.com")1527	   || dnsDomainIs(host, "www.famousbirthdays.com")1528	   || dnsDomainIs(host, "www.fandom.com")1529	   || dnsDomainIs(host, "www.fansites.com")1530	   || dnsDomainIs(host, "www.faoschwarz.com")1531	   || dnsDomainIs(host, "www.fbe.unsw.edu.au")1532	   || dnsDomainIs(host, "www.fcps.k12.va.us")1533	   || dnsDomainIs(host, "www.fellersartsfactory.com")1534	   || dnsDomainIs(host, "www.ferrari.it")1535	   || dnsDomainIs(host, "www.fertnel.com")1536	   || dnsDomainIs(host, "www.fh-konstanz.de")1537	   || dnsDomainIs(host, "www.fhw.gr")1538	   || dnsDomainIs(host, "www.fibblesnork.com")1539	   || dnsDomainIs(host, "www.fidnet.com")1540	   || dnsDomainIs(host, "www.fieldhockey.com")1541	   || dnsDomainIs(host, "www.fieldhockeytraining.com")1542	   || dnsDomainIs(host, "www.fieler.com")1543	   || dnsDomainIs(host, "www.finalfour.net")1544	   || dnsDomainIs(host, "www.finifter.com")1545	   || dnsDomainIs(host, "www.fireworks-safety.com")1546	   || dnsDomainIs(host, "www.firstcut.com")1547	   || dnsDomainIs(host, "www.firstnations.com")1548	   || dnsDomainIs(host, "www.fishbc.com")1549	   || dnsDomainIs(host, "www.fisher-price.com")1550	   || dnsDomainIs(host, "www.fisheyeview.com")1551	   || dnsDomainIs(host, "www.fishgeeks.com")1552	   || dnsDomainIs(host, "www.fishindex.com")1553	   || dnsDomainIs(host, "www.fitzgeraldstudio.com")1554	   || dnsDomainIs(host, "www.flags.net")1555	   || dnsDomainIs(host, "www.flail.com")1556	   || dnsDomainIs(host, "www.flamarlins.com")1557	   || dnsDomainIs(host, "www.flausa.com")1558	   || dnsDomainIs(host, "www.floodlight-findings.com")1559	   || dnsDomainIs(host, "www.floridahistory.com")1560	   || dnsDomainIs(host, "www.floridapanthers.com")1561	   || dnsDomainIs(host, "www.fng.fi")1562	   || dnsDomainIs(host, "www.foodsci.uoguelph.ca")1563	   || dnsDomainIs(host, "www.foremost.com")1564	   || dnsDomainIs(host, "www.fortress.am")1565	   || dnsDomainIs(host, "www.fortunecity.com")1566	   || dnsDomainIs(host, "www.fosterclub.com")1567	   || dnsDomainIs(host, "www.foundus.com")1568	   || dnsDomainIs(host, "www.fourmilab.ch")1569	   || dnsDomainIs(host, "www.fox.com")1570	   || dnsDomainIs(host, "www.foxfamilychannel.com")1571	   || dnsDomainIs(host, "www.foxhome.com")1572	   || dnsDomainIs(host, "www.foxkids.com")1573	   || dnsDomainIs(host, "www.franceway.com")1574	   || dnsDomainIs(host, "www.fred.net")1575	   || dnsDomainIs(host, "www.fredpenner.com")1576	   || dnsDomainIs(host, "www.freedomknot.com")1577	   || dnsDomainIs(host, "www.freejigsawpuzzles.com")1578	   || dnsDomainIs(host, "www.freenet.edmonton.ab.ca")1579	   || dnsDomainIs(host, "www.frii.com")1580	   || dnsDomainIs(host, "www.frisbee.com")1581	   || dnsDomainIs(host, "www.fritolay.com")1582	   || dnsDomainIs(host, "www.frogsonice.com")1583	   || dnsDomainIs(host, "www.frontiernet.net")1584	   || dnsDomainIs(host, "www.fs.fed.us")1585	   || dnsDomainIs(host, "www.funattic.com")1586	   || dnsDomainIs(host, ".funbrain.com")1587	   || dnsDomainIs(host, "www.fundango.com")1588	   || dnsDomainIs(host, "www.funisland.com")1589	   || dnsDomainIs(host, "www.funkandwagnalls.com")1590	   || dnsDomainIs(host, "www.funorama.com")1591	   || dnsDomainIs(host, "www.funschool.com")1592	   || dnsDomainIs(host, "www.funster.com")1593	   || dnsDomainIs(host, "www.furby.com")1594	   || dnsDomainIs(host, "www.fusion.org.uk")1595	   || dnsDomainIs(host, "www.futcher.com")1596	   || dnsDomainIs(host, "www.futurescan.com")1597	   || dnsDomainIs(host, "www.fyi.net")1598	   || dnsDomainIs(host, "www.gailgibbons.com")1599	   || dnsDomainIs(host, "www.galegroup.com")1600	   || dnsDomainIs(host, "www.gambia.com")1601	   || dnsDomainIs(host, "www.gamecabinet.com")1602	   || dnsDomainIs(host, "www.gamecenter.com")1603	   || dnsDomainIs(host, "www.gamefaqs.com")1604	   || dnsDomainIs(host, "www.garfield.com")1605	   || dnsDomainIs(host, "www.garyharbo.com")1606	   || dnsDomainIs(host, "www.gatefish.com")1607	   || dnsDomainIs(host, "www.gateway-va.com")1608	   || dnsDomainIs(host, "www.gazillionaire.com")1609	   || dnsDomainIs(host, "www.gearhead.com")1610	   || dnsDomainIs(host, "www.genesplicing.com")1611	   || dnsDomainIs(host, "www.genhomepage.com")1612	   || dnsDomainIs(host, "www.geobop.com")1613	   || dnsDomainIs(host, "www.geocities.com")1614	   || dnsDomainIs(host, "www.geographia.com")1615	   || dnsDomainIs(host, "www.georgeworld.com")1616	   || dnsDomainIs(host, "www.georgian.net")1617	   || dnsDomainIs(host, "www.german-way.com")1618	   || dnsDomainIs(host, "www.germanfortravellers.com")1619	   || dnsDomainIs(host, "www.germantown.k12.il.us")1620	   || dnsDomainIs(host, "www.germany-tourism.de")1621	   || dnsDomainIs(host, "www.getmusic.com")1622	   || dnsDomainIs(host, "www.gettysburg.com")1623	   || dnsDomainIs(host, "www.ghirardellisq.com")1624	   || dnsDomainIs(host, "www.ghosttowngallery.com")1625	   || dnsDomainIs(host, "www.ghosttownsusa.com")1626	   || dnsDomainIs(host, "www.giants.com")1627	   || dnsDomainIs(host, "www.gibraltar.gi")1628	   || dnsDomainIs(host, "www.gigglepoetry.com")1629	   || dnsDomainIs(host, "www.gilchriststudios.com")1630	   || dnsDomainIs(host, "www.gillslap.freeserve.co.uk")1631	   || dnsDomainIs(host, "www.gilmer.net")1632	   || dnsDomainIs(host, "www.gio.gov.tw")1633	   || dnsDomainIs(host, "www.girltech.com")1634	   || dnsDomainIs(host, "www.girlzone.com")1635	   || dnsDomainIs(host, "www.globalgang.org.uk")1636	   || dnsDomainIs(host, "www.globalindex.com")1637	   || dnsDomainIs(host, "www.globalinfo.com")1638	   || dnsDomainIs(host, "www.gloriafan.com")1639	   || dnsDomainIs(host, "www.gms.ocps.k12.fl.us")1640	   || dnsDomainIs(host, "www.go-go-diggity.com")1641	   || dnsDomainIs(host, "www.goals.com")1642	   || dnsDomainIs(host, "www.godiva.com")1643	   || dnsDomainIs(host, "www.golden-retriever.com")1644	   || dnsDomainIs(host, "www.goldenbooks.com")1645	   || dnsDomainIs(host, "www.goldeneggs.com.au")1646	   || dnsDomainIs(host, "www.golfonline.com")1647	   || dnsDomainIs(host, "www.goobo.com")1648	   || dnsDomainIs(host, "www.goodearthgraphics.com")1649	   || dnsDomainIs(host, "www.goodyear.com")1650	   || dnsDomainIs(host, "www.gopbi.com")1651	   || dnsDomainIs(host, "www.gorge.net")1652	   || dnsDomainIs(host, "www.gorp.com")1653	   || dnsDomainIs(host, "www.got-milk.com")1654	   || dnsDomainIs(host, "www.gov.ab.ca")1655	   || dnsDomainIs(host, "www.gov.nb.ca")1656	   || dnsDomainIs(host, "www.grammarbook.com")1657	   || dnsDomainIs(host, "www.grammarlady.com")1658	   || dnsDomainIs(host, "www.grandparents-day.com")1659	   || dnsDomainIs(host, "www.granthill.com")1660	   || dnsDomainIs(host, "www.grayweb.com")1661	   || dnsDomainIs(host, "www.greatbuildings.com")1662	   || dnsDomainIs(host, "www.greatkids.com")1663	   || dnsDomainIs(host, "www.greatscience.com")1664	   || dnsDomainIs(host, "www.greeceny.com")1665	   || dnsDomainIs(host, "www.greenkeepers.com")1666	   || dnsDomainIs(host, "www.greylabyrinth.com")1667	   || dnsDomainIs(host, "www.grimmy.com")1668	   || dnsDomainIs(host, "www.gsrg.nmh.ac.uk")1669	   || dnsDomainIs(host, "www.gti.net")1670	   || dnsDomainIs(host, "www.guinnessworldrecords.com")1671	   || dnsDomainIs(host, "www.guitar.net")1672	   || dnsDomainIs(host, "www.guitarplaying.com")1673	   || dnsDomainIs(host, "www.gumbyworld.com")1674	   || dnsDomainIs(host, "www.gurlwurld.com")1675	   || dnsDomainIs(host, "www.gwi.net")1676	   || dnsDomainIs(host, "www.gymn-forum.com")1677	   || dnsDomainIs(host, "www.gzkidzone.com")1678	   || dnsDomainIs(host, "www.haemibalgassi.com")1679	   || dnsDomainIs(host, "www.hairstylist.com")1680	   || dnsDomainIs(host, "www.halcyon.com")1681	   || dnsDomainIs(host, "www.halifax.cbc.ca")1682	   || dnsDomainIs(host, "www.halloween-online.com")1683	   || dnsDomainIs(host, "www.halloweenkids.com")1684	   || dnsDomainIs(host, "www.halloweenmagazine.com")1685	   || dnsDomainIs(host, "www.hamill.co.uk")1686	   || dnsDomainIs(host, "www.hamsterdance2.com")1687	   || dnsDomainIs(host, "www.hamsters.co.uk")1688	   || dnsDomainIs(host, "www.hamstertours.com")1689	   || dnsDomainIs(host, "www.handsonmath.com")1690	   || dnsDomainIs(host, "www.handspeak.com")1691	   || dnsDomainIs(host, "www.hansonline.com")1692	   || dnsDomainIs(host, "www.happychild.org.uk")1693	   || dnsDomainIs(host, "www.happyfamilies.com")1694	   || dnsDomainIs(host, "www.happytoy.com")1695	   || dnsDomainIs(host, "www.harley-davidson.com")1696	   || dnsDomainIs(host, "www.harmonicalessons.com")1697	   || dnsDomainIs(host, "www.harperchildrens.com")1698	   || dnsDomainIs(host, "www.harvey.com")1699	   || dnsDomainIs(host, "www.hasbro-interactive.com")1700	   || dnsDomainIs(host, "www.haynet.net")1701	   || dnsDomainIs(host, "www.hbc.com")1702	   || dnsDomainIs(host, "www.hblewis.com")1703	   || dnsDomainIs(host, "www.hbook.com")1704	   || dnsDomainIs(host, "www.he.net")1705	   || dnsDomainIs(host, "www.headbone.com")1706	   || dnsDomainIs(host, "www.healthatoz.com")1707	   || dnsDomainIs(host, "www.healthypet.com")1708	   || dnsDomainIs(host, "www.heartfoundation.com.au")1709	   || dnsDomainIs(host, "www.heatersworld.com")1710	   || dnsDomainIs(host, "www.her-online.com")1711	   || dnsDomainIs(host, "www.heroesofhistory.com")1712	   || dnsDomainIs(host, "www.hersheypa.com")1713	   || dnsDomainIs(host, "www.hersheys.com")1714	   || dnsDomainIs(host, "www.hevanet.com")1715	   || dnsDomainIs(host, "www.heynetwork.com")1716	   || dnsDomainIs(host, "www.hgo.com")1717	   || dnsDomainIs(host, "www.hhof.com")1718	   || dnsDomainIs(host, "www.hideandseekpuppies.com")1719	   || dnsDomainIs(host, "www.hifusion.com")1720	   || dnsDomainIs(host, "www.highbridgepress.com")1721	   || dnsDomainIs(host, "www.his.com")1722	   || dnsDomainIs(host, "www.history.navy.mil")1723	   || dnsDomainIs(host, "www.historychannel.com")1724	   || dnsDomainIs(host, "www.historyhouse.com")1725	   || dnsDomainIs(host, "www.historyplace.com")1726	   || dnsDomainIs(host, "www.hisurf.com")1727	   || dnsDomainIs(host, "www.hiyah.com")1728	   || dnsDomainIs(host, "www.hmnet.com")1729	   || dnsDomainIs(host, "www.hoboes.com")1730	   || dnsDomainIs(host, "www.hockeydb.com")1731	   || dnsDomainIs(host, "www.hohnerusa.com")1732	   || dnsDomainIs(host, "www.holidaychannel.com")1733	   || dnsDomainIs(host, "www.holidayfestival.com")1734	   || dnsDomainIs(host, "www.holidays.net")1735	   || dnsDomainIs(host, "www.hollywood.com")1736	   || dnsDomainIs(host, "www.holoworld.com")1737	   || dnsDomainIs(host, "www.homepagers.com")1738	   || dnsDomainIs(host, "www.homeschoolzone.com")1739	   || dnsDomainIs(host, "www.homestead.com")1740	   || dnsDomainIs(host, "www.homeworkspot.com")1741	   || dnsDomainIs(host, "www.hompro.com")1742	   || dnsDomainIs(host, "www.honey.com")1743	   || dnsDomainIs(host, "www.hooked.net")1744	   || dnsDomainIs(host, "www.hoophall.com")1745	   || dnsDomainIs(host, "www.hooverdam.com")1746	   || dnsDomainIs(host, "www.hopepaul.com")1747	   || dnsDomainIs(host, "www.horse-country.com")1748	   || dnsDomainIs(host, "www.horsechat.com")1749	   || dnsDomainIs(host, "www.horsefun.com")1750	   || dnsDomainIs(host, "www.horus.ics.org.eg")1751	   || dnsDomainIs(host, "www.hotbraille.com")1752	   || dnsDomainIs(host, "www.hotwheels.com")1753	   || dnsDomainIs(host, "www.howstuffworks.com")1754	   || dnsDomainIs(host, "www.hpdigitalbookclub.com")1755	   || dnsDomainIs(host, "www.hpj.com")1756	   || dnsDomainIs(host, "www.hpl.hp.com")1757	   || dnsDomainIs(host, "www.hpl.lib.tx.us")1758	   || dnsDomainIs(host, "www.hpnetwork.f2s.com")1759	   || dnsDomainIs(host, "www.hsswp.com")1760	   || dnsDomainIs(host, "www.hsx.com")1761	   || dnsDomainIs(host, "www.humboldt1.com")1762	   || dnsDomainIs(host, "www.humongous.com")1763	   || dnsDomainIs(host, "www.humph3.freeserve.co.uk")1764	   || dnsDomainIs(host, "www.humphreybear.com ")1765	   || dnsDomainIs(host, "www.hurricanehunters.com")1766	   || dnsDomainIs(host, "www.hyperhistory.com")1767	   || dnsDomainIs(host, "www.i2k.com")1768	   || dnsDomainIs(host, "www.ibhof.com")1769	   || dnsDomainIs(host, "www.ibiscom.com")1770	   || dnsDomainIs(host, "www.ibm.com")1771	   || dnsDomainIs(host, "www.icangarden.com")1772	   || dnsDomainIs(host, "www.icecreamusa.com")1773	   || dnsDomainIs(host, "www.icn.co.uk")1774	   || dnsDomainIs(host, "www.icomm.ca")1775	   || dnsDomainIs(host, "www.idfishnhunt.com")1776	   || dnsDomainIs(host, "www.iditarod.com")1777	   || dnsDomainIs(host, "www.iei.net")1778	   || dnsDomainIs(host, "www.iemily.com")1779	   || dnsDomainIs(host, "www.iir.com")1780	   || dnsDomainIs(host, "www.ika.com")1781	   || dnsDomainIs(host, "www.ikoala.com")1782	   || dnsDomainIs(host, "www.iln.net")1783	   || dnsDomainIs(host, "www.imagine5.com")1784	   || dnsDomainIs(host, "www.imes.boj.or.jp")1785	   || dnsDomainIs(host, "www.inch.com")1786	   || dnsDomainIs(host, "www.incwell.com")1787	   || dnsDomainIs(host, "www.indian-river.fl.us")1788	   || dnsDomainIs(host, "www.indians.com")1789	   || dnsDomainIs(host, "www.indo.com")1790	   || dnsDomainIs(host, "www.indyracingleague.com")1791	   || dnsDomainIs(host, "www.indyzoo.com")1792	   || dnsDomainIs(host, "www.info-canada.com")1793	   || dnsDomainIs(host, "www.infomagic.net")1794	   || dnsDomainIs(host, "www.infoplease.com")1795	   || dnsDomainIs(host, "www.infoporium.com")1796	   || dnsDomainIs(host, "www.infostuff.com")1797	   || dnsDomainIs(host, "www.inhandmuseum.com")1798	   || dnsDomainIs(host, "www.inil.com")1799	   || dnsDomainIs(host, "www.inkspot.com")1800	   || dnsDomainIs(host, "www.inkyfingers.com")1801	   || dnsDomainIs(host, "www.innerauto.com")1802	   || dnsDomainIs(host, "www.innerbody.com")1803	   || dnsDomainIs(host, "www.inqpub.com")1804	   || dnsDomainIs(host, "www.insecta-inspecta.com")1805	   || dnsDomainIs(host, "www.insectclopedia.com")1806	   || dnsDomainIs(host, "www.inside-mexico.com")1807	   || dnsDomainIs(host, "www.insiders.com")1808	   || dnsDomainIs(host, "www.insteam.com")1809	   || dnsDomainIs(host, "www.intel.com")1810	   || dnsDomainIs(host, "www.intellicast.com")1811	   || dnsDomainIs(host, "www.interads.co.uk")1812	   || dnsDomainIs(host, "www.intercot.com")1813	   || dnsDomainIs(host, "www.intergraffix.com")1814	   || dnsDomainIs(host, "www.interknowledge.com")1815	   || dnsDomainIs(host, "www.interlog.com")1816	   || dnsDomainIs(host, "www.internet4kids.com")1817	   || dnsDomainIs(host, "www.intersurf.com")1818	   || dnsDomainIs(host, "www.inthe80s.com")1819	   || dnsDomainIs(host, "www.inventorsmuseum.com")1820	   || dnsDomainIs(host, "www.inwap.com")1821	   || dnsDomainIs(host, "www.ioa.com")1822	   || dnsDomainIs(host, "www.ionet.net")1823	   || dnsDomainIs(host, "www.iowacity.com")1824	   || dnsDomainIs(host, "www.ireland-now.com")1825	   || dnsDomainIs(host, "www.ireland.com")1826	   || dnsDomainIs(host, "www.irelandseye.com")1827	   || dnsDomainIs(host, "www.irlgov.ie")1828	   || dnsDomainIs(host, "www.isd.net")1829	   || dnsDomainIs(host, "www.islandnet.com")1830	   || dnsDomainIs(host, "www.isomedia.com")1831	   || dnsDomainIs(host, "www.itftennis.com")1832	   || dnsDomainIs(host, "www.itpi.dpi.state.nc.us")1833	   || dnsDomainIs(host, "www.itskwanzaatime.com")1834	   || dnsDomainIs(host, "www.itss.raytheon.com")1835	   || dnsDomainIs(host, "www.iuma.com")1836	   || dnsDomainIs(host, "www.iwaynet.net")1837	   || dnsDomainIs(host, "www.iwc.com")1838	   || dnsDomainIs(host, "www.iwight.gov.uk")1839	   || dnsDomainIs(host, "www.ixpres.com")1840	   || dnsDomainIs(host, "www.j.b.allen.btinternet.co.uk")1841	   || dnsDomainIs(host, "www.jabuti.com")1842	   || dnsDomainIs(host, "www.jackinthebox.com")1843	   || dnsDomainIs(host, "www.jaffebros.com")1844	   || dnsDomainIs(host, "www.jaguars.com")1845	   || dnsDomainIs(host, "www.jamaica-gleaner.com")1846	   || dnsDomainIs(host, "www.jamm.com")1847	   || dnsDomainIs(host, "www.janbrett.com")1848	   || dnsDomainIs(host, "www.janetstevens.com")1849	   || dnsDomainIs(host, "www.japan-guide.com")1850	   || dnsDomainIs(host, "www.jargon.net")1851	   || dnsDomainIs(host, "www.javelinamx.com")1852	   || dnsDomainIs(host, "www.jayjay.com")1853	   || dnsDomainIs(host, "www.jazclass.aust.com")1854	   || dnsDomainIs(host, "www.jedinet.com")1855	   || dnsDomainIs(host, "www.jenniferlopez.com")1856	   || dnsDomainIs(host, "www.jlpanagopoulos.com")1857	   || dnsDomainIs(host, "www.jmarshall.com")1858	   || dnsDomainIs(host, "www.jmccall.demon.co.uk")1859	   || dnsDomainIs(host, "www.jmts.com")1860	   || dnsDomainIs(host, "www.joesherlock.com")1861	   || dnsDomainIs(host, "www.jorvik-viking-centre.co.uk")1862	   || dnsDomainIs(host, "www.joycecarolthomas.com")1863	   || dnsDomainIs(host, "www.joycone.com")1864	   || dnsDomainIs(host, "www.joyrides.com")1865	   || dnsDomainIs(host, "www.jps.net")1866	   || dnsDomainIs(host, "www.jspub.com")1867	   || dnsDomainIs(host, "www.judaica.com")1868	   || dnsDomainIs(host, "www.judyblume.com")1869	   || dnsDomainIs(host, "www.julen.net")1870	   || dnsDomainIs(host, "www.june29.com")1871	   || dnsDomainIs(host, "www.juneteenth.com")1872	   || dnsDomainIs(host, "www.justuskidz.com")1873	   || dnsDomainIs(host, "www.justwomen.com")1874	   || dnsDomainIs(host, "www.jwindow.net")1875	   || dnsDomainIs(host, "www.k9web.com")1876	   || dnsDomainIs(host, "www.kaercher.de")1877	   || dnsDomainIs(host, "www.kaleidoscapes.com")1878	   || dnsDomainIs(host, "www.kapili.com")1879	   || dnsDomainIs(host, "www.kcchiefs.com")1880	   || dnsDomainIs(host, "www.kcpl.lib.mo.us")1881	   || dnsDomainIs(host, "www.kcroyals.com")1882	   || dnsDomainIs(host, "www.kcsd.k12.pa.us")1883	   || dnsDomainIs(host, "www.kdu.com")1884	   || dnsDomainIs(host, "www.kelloggs.com")1885	   || dnsDomainIs(host, "www.kentuckyfriedchicken.com")1886	   || dnsDomainIs(host, "www.kenyaweb.com")1887	   || dnsDomainIs(host, "www.keypals.com")1888	   || dnsDomainIs(host, "www.kfn.com")1889	   || dnsDomainIs(host, "www.kid-at-art.com")1890	   || dnsDomainIs(host, "www.kid-channel.com")1891	   || dnsDomainIs(host, "www.kidallergy.com")1892	   || dnsDomainIs(host, "www.kidbibs.com")1893	   || dnsDomainIs(host, "www.kidcomics.com")1894	   || dnsDomainIs(host, "www.kiddesafety.com")1895	   || dnsDomainIs(host, "www.kiddiecampus.com")1896	   || dnsDomainIs(host, "www.kididdles.com")1897	   || dnsDomainIs(host, "www.kidnews.com")1898	   || dnsDomainIs(host, "www.kidocracy.com")1899	   || dnsDomainIs(host, "www.kidport.com")1900	   || dnsDomainIs(host, "www.kids-channel.co.uk")1901	   || dnsDomainIs(host, "www.kids-drawings.com")1902	   || dnsDomainIs(host, "www.kids-in-mind.com")1903	   || dnsDomainIs(host, "www.kids4peace.com")1904	   || dnsDomainIs(host, "www.kidsandcomputers.com")1905	   || dnsDomainIs(host, "www.kidsart.co.uk")1906	   || dnsDomainIs(host, "www.kidsastronomy.com")1907	   || dnsDomainIs(host, "www.kidsbank.com")1908	   || dnsDomainIs(host, "www.kidsbookshelf.com")1909	   || dnsDomainIs(host, "www.kidsclick.com")1910	   || dnsDomainIs(host, "www.kidscom.com")1911	   || dnsDomainIs(host, "www.kidscook.com")1912	   || dnsDomainIs(host, "www.kidsdoctor.com")1913	   || dnsDomainIs(host, "www.kidsdomain.com")1914	   || dnsDomainIs(host, "www.kidsfarm.com")1915	   || dnsDomainIs(host, "www.kidsfreeware.com")1916	   || dnsDomainIs(host, "www.kidsfun.tv")1917	   || dnsDomainIs(host, "www.kidsgolf.com")1918	   || dnsDomainIs(host, "www.kidsgowild.com")1919	   || dnsDomainIs(host, "www.kidsjokes.com")1920	   || dnsDomainIs(host, "www.kidsloveamystery.com")1921	   || dnsDomainIs(host, "www.kidsmoneycents.com")1922	   || dnsDomainIs(host, "www.kidsnewsroom.com")1923	   || dnsDomainIs(host, "www.kidsource.com")1924	   || dnsDomainIs(host, "www.kidsparties.com")1925	   || dnsDomainIs(host, "www.kidsplaytown.com")1926	   || dnsDomainIs(host, "www.kidsreads.com")1927	   || dnsDomainIs(host, "www.kidsreport.com")1928	   || dnsDomainIs(host, "www.kidsrunning.com")1929	   || dnsDomainIs(host, "www.kidstamps.com")1930	   || dnsDomainIs(host, "www.kidsvideogames.com")1931	   || dnsDomainIs(host, "www.kidsway.com")1932	   || dnsDomainIs(host, "www.kidswithcancer.com")1933	   || dnsDomainIs(host, "www.kidszone.ourfamily.com")1934	   || dnsDomainIs(host, "www.kidzup.com")1935	   || dnsDomainIs(host, "www.kinderart.com")1936	   || dnsDomainIs(host, "www.kineticcity.com")1937	   || dnsDomainIs(host, "www.kings.k12.ca.us")1938	   || dnsDomainIs(host, "www.kiplinger.com")1939	   || dnsDomainIs(host, "www.kiwirecovery.org.nz")1940	   || dnsDomainIs(host, "www.klipsan.com")1941	   || dnsDomainIs(host, "www.klutz.com")1942	   || dnsDomainIs(host, "www.kn.pacbell.com")1943	   || dnsDomainIs(host, "www.knex.com")1944	   || dnsDomainIs(host, "www.knowledgeadventure.com")1945	   || dnsDomainIs(host, "www.knto.or.kr")1946	   || dnsDomainIs(host, "www.kodak.com")1947	   || dnsDomainIs(host, "www.konica.co.jp")1948	   || dnsDomainIs(host, "www.kraftfoods.com")1949	   || dnsDomainIs(host, "www.kudzukids.com")1950	   || dnsDomainIs(host, "www.kulichki.com")1951	   || dnsDomainIs(host, "www.kuttu.com")1952	   || dnsDomainIs(host, "www.kv5.com")1953	   || dnsDomainIs(host, "www.kyes-world.com")1954	   || dnsDomainIs(host, "www.kyohaku.go.jp")1955	   || dnsDomainIs(host, "www.kyrene.k12.az.us")1956	   || dnsDomainIs(host, "www.kz")1957	   || dnsDomainIs(host, "www.la-hq.org.uk")1958	   || dnsDomainIs(host, "www.labs.net")1959	   || dnsDomainIs(host, "www.labyrinth.net.au")1960	   || dnsDomainIs(host, "www.laffinthedark.com")1961	   || dnsDomainIs(host, "www.lakhota.com")1962	   || dnsDomainIs(host, "www.lakings.com")1963	   || dnsDomainIs(host, "www.lam.mus.ca.us")1964	   || dnsDomainIs(host, "www.lampstras.k12.pa.us")1965	   || dnsDomainIs(host, "www.lams.losalamos.k12.nm.us")1966	   || dnsDomainIs(host, "www.landofcadbury.ca")1967	   || dnsDomainIs(host, "www.larry-boy.com")1968	   || dnsDomainIs(host, "www.lasersite.com")1969	   || dnsDomainIs(host, "www.last-word.com")1970	   || dnsDomainIs(host, "www.latimes.com")1971	   || dnsDomainIs(host, "www.laughon.com")1972	   || dnsDomainIs(host, "www.laurasmidiheaven.com")1973	   || dnsDomainIs(host, "www.lausd.k12.ca.us")1974	   || dnsDomainIs(host, "www.learn2.com")1975	   || dnsDomainIs(host, "www.learn2type.com")1976	   || dnsDomainIs(host, "www.learnfree-hobbies.com")1977	   || dnsDomainIs(host, "www.learningkingdom.com")1978	   || dnsDomainIs(host, "www.learningplanet.com")1979	   || dnsDomainIs(host, "www.leftjustified.com")1980	   || dnsDomainIs(host, "www.legalpadjr.com")1981	   || dnsDomainIs(host, "www.legendarysurfers.com")1982	   || dnsDomainIs(host, "www.legends.dm.net")1983	   || dnsDomainIs(host, "www.legis.state.wi.us")1984	   || dnsDomainIs(host, "www.legis.state.wv.us")1985	   || dnsDomainIs(host, "www.lego.com")1986	   || dnsDomainIs(host, "www.leje.com")1987	   || dnsDomainIs(host, "www.leonardodicaprio.com")1988	   || dnsDomainIs(host, "www.lessonplanspage.com")1989	   || dnsDomainIs(host, "www.letour.fr")1990	   || dnsDomainIs(host, "www.levins.com")1991	   || dnsDomainIs(host, "www.levistrauss.com")1992	   || dnsDomainIs(host, "www.libertystatepark.com")1993	   || dnsDomainIs(host, "www.libraryspot.com")1994	   || dnsDomainIs(host, "www.lifelong.com")1995	   || dnsDomainIs(host, "www.lighthouse.cc")1996	   || dnsDomainIs(host, "www.lightlink.com")1997	   || dnsDomainIs(host, "www.lightspan.com")1998	   || dnsDomainIs(host, "www.lil-fingers.com")1999	   || dnsDomainIs(host, "www.linc.or.jp")2000	   || dnsDomainIs(host, "www.lindsaysbackyard.com")2001	   || dnsDomainIs(host, "www.lindtchocolate.com")2002	   || dnsDomainIs(host, "www.lineone.net")2003	   || dnsDomainIs(host, "www.lionel.com")2004	   || dnsDomainIs(host, "www.lisafrank.com")2005	   || dnsDomainIs(host, "www.lissaexplains.com")2006	   || dnsDomainIs(host, "www.literacycenter.net")2007	   || dnsDomainIs(host, "www.littleartist.com")2008	   || dnsDomainIs(host, "www.littlechiles.com")2009	   || dnsDomainIs(host, "www.littlecritter.com")2010	   || dnsDomainIs(host, "www.littlecrowtoys.com")2011	   || dnsDomainIs(host, "www.littlehousebooks.com")2012	   || dnsDomainIs(host, "www.littlejason.com")2013	   || dnsDomainIs(host, "www.littleplanettimes.com")2014	   || dnsDomainIs(host, "www.liveandlearn.com")2015	   || dnsDomainIs(host, "www.loadstar.prometeus.net")2016	   || dnsDomainIs(host, "www.localaccess.com")2017	   || dnsDomainIs(host, "www.lochness.co.uk")2018	   || dnsDomainIs(host, "www.lochness.scotland.net")2019	   || dnsDomainIs(host, "www.logos.it")2020	   || dnsDomainIs(host, "www.lonelyplanet.com")2021	   || dnsDomainIs(host, "www.looklearnanddo.com")2022	   || dnsDomainIs(host, "www.loosejocks.com")2023	   || dnsDomainIs(host, "www.lost-worlds.com")2024	   || dnsDomainIs(host, "www.love-story.com")2025	   || dnsDomainIs(host, "www.lpga.com")2026	   || dnsDomainIs(host, "www.lsjunction.com")2027	   || dnsDomainIs(host, "www.lucasarts.com")2028	   || dnsDomainIs(host, "www.lucent.com")2029	   || dnsDomainIs(host, "www.lucie.com")2030	   || dnsDomainIs(host, "www.lunaland.co.za")2031	   || dnsDomainIs(host, "www.luth.se")2032	   || dnsDomainIs(host, "www.lyricalworks.com")2033	   || dnsDomainIs(host, "www.infoporium.com")2034	   || dnsDomainIs(host, "www.infostuff.com")2035	   || dnsDomainIs(host, "www.inhandmuseum.com")2036	   || dnsDomainIs(host, "www.inil.com")2037	   || dnsDomainIs(host, "www.inkspot.com")2038	   || dnsDomainIs(host, "www.inkyfingers.com")2039	   || dnsDomainIs(host, "www.innerauto.com")2040	   || dnsDomainIs(host, "www.innerbody.com")2041	   || dnsDomainIs(host, "www.inqpub.com")2042	   || dnsDomainIs(host, "www.insecta-inspecta.com")2043	   || dnsDomainIs(host, "www.insectclopedia.com")2044	   || dnsDomainIs(host, "www.inside-mexico.com")2045	   || dnsDomainIs(host, "www.insiders.com")2046	   || dnsDomainIs(host, "www.insteam.com")2047	   || dnsDomainIs(host, "www.intel.com")2048	   || dnsDomainIs(host, "www.intellicast.com")2049	   || dnsDomainIs(host, "www.interads.co.uk")2050	   || dnsDomainIs(host, "www.intercot.com")2051	   || dnsDomainIs(host, "www.intergraffix.com")2052	   || dnsDomainIs(host, "www.interknowledge.com")2053	   || dnsDomainIs(host, "www.interlog.com")2054	   || dnsDomainIs(host, "www.internet4kids.com")2055	   || dnsDomainIs(host, "www.intersurf.com")2056	   || dnsDomainIs(host, "www.inthe80s.com")2057	   || dnsDomainIs(host, "www.inventorsmuseum.com")2058	   || dnsDomainIs(host, "www.inwap.com")2059	   || dnsDomainIs(host, "www.ioa.com")2060	   || dnsDomainIs(host, "www.ionet.net")2061	   || dnsDomainIs(host, "www.iowacity.com")2062	   || dnsDomainIs(host, "www.ireland-now.com")2063	   || dnsDomainIs(host, "www.ireland.com")2064	   || dnsDomainIs(host, "www.irelandseye.com")2065	   || dnsDomainIs(host, "www.irlgov.ie")2066	   || dnsDomainIs(host, "www.isd.net")2067	   || dnsDomainIs(host, "www.islandnet.com")2068	   || dnsDomainIs(host, "www.isomedia.com")2069	   || dnsDomainIs(host, "www.itftennis.com")2070	   || dnsDomainIs(host, "www.itpi.dpi.state.nc.us")2071	   || dnsDomainIs(host, "www.itskwanzaatime.com")2072	   || dnsDomainIs(host, "www.itss.raytheon.com")2073	   || dnsDomainIs(host, "www.iuma.com")2074	   || dnsDomainIs(host, "www.iwaynet.net")2075	   || dnsDomainIs(host, "www.iwc.com")2076	   || dnsDomainIs(host, "www.iwight.gov.uk")2077	   || dnsDomainIs(host, "www.ixpres.com")2078	   || dnsDomainIs(host, "www.j.b.allen.btinternet.co.uk")2079	   || dnsDomainIs(host, "www.jabuti.com")2080	   || dnsDomainIs(host, "www.jackinthebox.com")2081	   || dnsDomainIs(host, "www.jaffebros.com")2082	   || dnsDomainIs(host, "www.jaguars.com")2083	   || dnsDomainIs(host, "www.jamaica-gleaner.com")2084	   || dnsDomainIs(host, "www.jamm.com")2085	   || dnsDomainIs(host, "www.janbrett.com")2086	   || dnsDomainIs(host, "www.janetstevens.com")2087	   || dnsDomainIs(host, "www.japan-guide.com")2088	   || dnsDomainIs(host, "www.jargon.net")2089	   || dnsDomainIs(host, "www.javelinamx.com")2090	   || dnsDomainIs(host, "www.jayjay.com")2091	   || dnsDomainIs(host, "www.jazclass.aust.com")2092    )2093    return "PROXY proxy.hclib.org:80";2094  else2095    return "PROXY 172.16.100.20:8080";2096}...hdfs.js
Source:hdfs.js  
1import axios from 'axios'2export default {3    data () {4        return {5            // åæ¾zkfcçä¿¡æ¯6            ZKFCarr: [],7            // datanodeçéå8            datanode: [],9            // å·²ç»å¯å¨çdatanodeæ°é10            datanodeStarted: 0,11            // datanodeæ»æ°é12            datanodeCount: 0,13            // active Namenodeèç¹ç¶æï¼æ¯å¦å¯å¨ï¼14            namenodeStateA: 'å·²ç»åæ¢',15            // standby Namenodeèç¹ç¶æ16            namenodeStateB: 'å·²ç»åæ¢',17            // activeèç¹host18            activeNamenodeHost: '',19            // standbyèç¹host20            standbyNamenodeHost: '',21            // unknownç¶æçdatanodeæ°é22            datanodeUnknown: 0,23            // æ»æç¶æçdatanodeæ°é24            datanodeDied: 0,25            // jourå·²ç»å¯å¨çæ°é26            jourStartedCount: 0,27            // jourçæ»æ°é28            jourCount: 0,29            // namenodeå æ»é30            HeapMemoryMax: 'a',31            // namenodeå çä½¿ç¨æ°32            HeapMemoryUsed: 'n',33            // namenodeå ç使ç¨ç34            HeapMemoryPercent: '0.0%',35            // ç£çæ»é36            CapacityTotalGB: 'a',37            // dfsç£ç使ç¨é38            CapacityUsedGB: 'n',39            // dfsç£ç使ç¨ç40            CapacityUsedPercent: '0.0%',41            // édfsï¼æ¬å°ï¼ç£ç使ç¨é42            CapacityNonDFSUsed: 'n',43            // édfsï¼æ¬å°ï¼ç£ç使ç¨ç44            CapacityNonDFSUsedPercent: '0.0%',45            // ç£çæ»ç©ºä½ç©ºé´46            CapacityRemainingGB: 'n',47            // ç£ç空ä½ç48            CapacityRemainingGBPercent: '0.0%',49            // æä»¶åçæ»æ°50            BlocksTotal: 'n/a',51            /// /æåçæä»¶å52            CorruptBlocks: 'n/a',53            // 丢失çæä»¶å54            MissingBlocks: 'n/a',55            // ä½äºé
ç½®å¯æ¬æ°çæä»¶å56            UnderReplicatedBlocks: 'n/a',57            // Namenodeå¯å¨æ¶é´58            NamenodeStartTime: '没æå¯å¨',59            // æ»è®¡æä»¶+ç®å½æ°60            TotalFiles: 'n/a',61            // åçº§ç¶æ62            UpgradeFinalized: 'n/a',63            // å®å
¨æ¨¡å¼ç¶æ64            Safemode: 'n/a',65            // æ¥è¯¢é«å¯ç¨ï¼hdfsãhbaseãyarnï¼çactiveãstandbyï¼ä»¥åZKFCãjournalNodes66            HAurl: '/api/v1/clusters/HT706/components/?ServiceComponentInfo/component_name=APP_TIMELINE_SERVER|,' +67        'ServiceComponentInfo/component_name=JOURNALNODE|ServiceComponentInfo/component_name=ZKFC|ServiceComponentInfo/category=MASTER' +68        '&fields=ServiceComponentInfo/service_name,host_components/HostRoles/display_name,host_components/HostRoles/host_name,' +69        'host_components/HostRoles/public_host_name,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,' +70        'host_components/HostRoles/stale_configs,host_components/HostRoles/ha_state,host_components/HostRoles/desired_admin_state,' +71        'host_components/metrics/jvm/memHeapUsedM,host_components/metrics/jvm/HeapMemoryMax,host_components/metrics/jvm/HeapMemoryUsed,' +72        'host_components/metrics/jvm/memHeapCommittedM,host_components/metrics/mapred/jobtracker/trackers_decommissioned,' +73        'host_components/metrics/cpu/cpu_wio,host_components/metrics/rpc/client/RpcQueueTime_avg_time,' +74        'host_components/metrics/dfs/FSNamesystem/*,host_components/metrics/dfs/namenode/Version,' +75        'host_components/metrics/dfs/namenode/LiveNodes,host_components/metrics/dfs/namenode/DeadNodes,' +76        'host_components/metrics/dfs/namenode/DecomNodes,host_components/metrics/dfs/namenode/TotalFiles,' +77        'host_components/metrics/dfs/namenode/UpgradeFinalized,host_components/metrics/dfs/namenode/Safemode,' +78        'host_components/metrics/runtime/StartTime,host_components/metrics/hbase/master/IsActiveMaster,' +79        'host_components/metrics/hbase/master/MasterStartTime,host_components/metrics/hbase/master/MasterActiveTime,' +80        'host_components/metrics/hbase/master/AverageLoad,host_components/metrics/master/AssignmentManger/ritCount,' +81        'host_components/metrics/yarn/Queue,host_components/metrics/yarn/ClusterMetrics/NumActiveNMs,' +82        'host_components/metrics/yarn/ClusterMetrics/NumLostNMs,host_components/metrics/yarn/ClusterMetrics/NumUnhealthyNMs,' +83        'host_components/metrics/yarn/ClusterMetrics/NumRebootedNMs,' +84        'host_components/metrics/yarn/ClusterMetrics/NumDecommissionedNMs&minimal_response=true',85            // é«å¯ç¨ç»æéå86            HAnode: []87        }88    },89    methods: {90    // è·åjour,HAçä¿¡æ¯91        async getJournalAndHA() {92            var that = this93            // å°ZKFCarréç½®94            this.ZKFCarr = []95            this.HAurl = '/api/v1/clusters/HT706/components/?ServiceComponentInfo/component_name=APP_TIMELINE_SERVER|,' +96        'ServiceComponentInfo/component_name=JOURNALNODE|ServiceComponentInfo/component_name=ZKFC|ServiceComponentInfo/category=MASTER' +97        '&fields=ServiceComponentInfo/service_name,host_components/HostRoles/display_name,host_components/HostRoles/host_name,' +98        'host_components/HostRoles/public_host_name,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,' +99        'host_components/HostRoles/stale_configs,host_components/HostRoles/ha_state,host_components/HostRoles/desired_admin_state,' +100        'host_components/metrics/jvm/memHeapUsedM,host_components/metrics/jvm/HeapMemoryMax,host_components/metrics/jvm/HeapMemoryUsed,' +101        'host_components/metrics/jvm/memHeapCommittedM,host_components/metrics/mapred/jobtracker/trackers_decommissioned,' +102        'host_components/metrics/cpu/cpu_wio,host_components/metrics/rpc/client/RpcQueueTime_avg_time,' +103        'host_components/metrics/dfs/FSNamesystem/*,host_components/metrics/dfs/namenode/Version,' +104        'host_components/metrics/dfs/namenode/LiveNodes,host_components/metrics/dfs/namenode/DeadNodes,' +105        'host_components/metrics/dfs/namenode/DecomNodes,host_components/metrics/dfs/namenode/TotalFiles,' +106        'host_components/metrics/dfs/namenode/UpgradeFinalized,host_components/metrics/dfs/namenode/Safemode,' +107        'host_components/metrics/runtime/StartTime,host_components/metrics/hbase/master/IsActiveMaster,' +108        'host_components/metrics/hbase/master/MasterStartTime,host_components/metrics/hbase/master/MasterActiveTime,' +109        'host_components/metrics/hbase/master/AverageLoad,host_components/metrics/master/AssignmentManger/ritCount,' +110        'host_components/metrics/yarn/Queue,host_components/metrics/yarn/ClusterMetrics/NumActiveNMs,' +111        'host_components/metrics/yarn/ClusterMetrics/NumLostNMs,host_components/metrics/yarn/ClusterMetrics/NumUnhealthyNMs,' +112        'host_components/metrics/yarn/ClusterMetrics/NumRebootedNMs,' +113        'host_components/metrics/yarn/ClusterMetrics/NumDecommissionedNMs&minimal_response=true',114            // åé请æ±ï¼å¸¦ç¨æ·ååå¯ç 115          await  axios.get('/api/' + this.HAurl, {116                auth: {117                    username: 'admin',118                    password: 'admin'119                }120            }).then(function (res) {121                console.log(res.data)122                // 设置åéarrï¼å¼ä¸ºè¯·æ±åçæ°æ®çitems屿§ï¼è¿æ¯ä¸ä¸ªæ°ç»123                // var arr = res.data.items124                // 对arræ°ç»è¿è¡mapéå125                res.data.items.map(x => {126                    var ZKFCcount = 1127                    // arræ°ç»ä¸æ¯ä¸ªå
ç´ çhost_componentsæ¯ä¸ä¸ªæ°ç»ï¼å¯¹è¯¥æ°ç»è¿è¡éå128                    x.host_components.map(y => {129                        // å建åéhostrolesï¼æ¥æ¶å
ç´ çHostRoles屿§130                        var hostroles = y.HostRoles131                        // 夿妿屿§çcomponents_nameåæ®µæ¯ZKFCï¼åè¿è¡ä¸é¢æä½132                        if (hostroles.component_name == 'ZKFC') {133                            // alert("hbase"+hostroles.host_name+":"+hostroles.state+":"+y.metrics.hbase.master.IsActiveMaster)134                            // å°ç¸åºçæ°æ®å°è£
æä¸ä¸ªç±»å å
¥å°ZKFCçæ°ç»ä¸135                            var ZKFCstart = ''136                            if (hostroles.state == 'STARTED') {137                                ZKFCstart = 'å·²ç»å¯å¨'138                            } else if (hostroles.state == 'INSTALLED') {139                                ZKFCstart = 'å·²ç»åæ¢'140                            } else {141                                ZKFCstart = hostroles.state142                            }143                            that.ZKFCarr.push({144                                // name:"èªå¨æ
é转移",145                                name: 'èªå¨æ
é转移' + ZKFCcount + 'èç¹',146                                host: hostroles.host_name,147                                state: ZKFCstart148                            })149                            ZKFCcount += 1150                            // 妿æ¯NAMENODEï¼åè¿è¡ä¸é¢çæä½151                        } else if (hostroles.component_name == 'NAMENODE') {152                            // alert("namenode"+hostroles.host_name+":"+hostroles.state+":"+y.metrics.dfs.FSNamesystem.HAState)153                            // è·åactiveèç¹çèç¹åç§°åå¯å¨ç¶æ(该æ¡ä»¶å¿
é¡»ä¿è¯stateæ¯å¯å¨ç¶æï¼å¦åè¿åçæ°æ®é颿²¡æFSNamesystem屿§ï¼ä¼æ¥é)154                            if (hostroles.state == 'STARTED' && y.metrics.dfs.FSNamesystem.HAState == 'active') {155                                that.activeNamenodeHost = hostroles.host_name156                                that.namenodeStateA = 'å·²ç»å¯å¨'157                                // è·ånamenodeå å
åæ»æ°åå·²ç»ä½¿ç¨çå å
åï¼ä»¥åä½¿ç¨æ¯ä¾158                                that.HeapMemoryMax = y.metrics.jvm.HeapMemoryMax159                                that.HeapMemoryUsed = y.metrics.jvm.HeapMemoryUsed160                                // è·ådfsåå¸å¼æ°æ®åå¨ä½¿ç¨ç空é´ä»¥åç£çæ»ç©ºé´161                                var fsName = y.metrics.dfs.FSNamesystem162                                // ç£çæ»é163                                that.CapacityTotalGB = fsName.CapacityTotalGB*1024*1024*1024164                                // dfs使ç¨éGBï¼165                                    that.CapacityUsedGB = fsName.CapacityUsedGB*1024*1024*1024                            166                                // édfsç£ç使ç¨é167                                    that.CapacityNonDFSUsed = fsName.CapacityNonDFSUsed168                                // ç£çæ»ç©ºä½ç©ºé´169                                    that.CapacityRemainingGB = fsName.CapacityRemainingGB*1024*1024*1024170                                171                                // æä»¶åçæ»æ°172                                that.BlocksTotal = fsName.BlocksTotal173                                // æåçã丢失çãä½äºé
ç½®å¯æ¬æ°çæä»¶å174                                that.CorruptBlocks = fsName.CorruptBlocks175                                that.MissingBlocks = fsName.MissingBlocks176                                that.UnderReplicatedBlocks = fsName.UnderReplicatedBlocks177                                // æ»å
±çæä»¶+ç®å½æ°178                                that.TotalFiles = fsName.TotalFiles179                                // è·åå®å
¨æ¨¡å¼ååçº§ç¶æ180                                if (y.metrics.dfs.namenode.UpgradeFinalized) {181                                    that.UpgradeFinalized = 'æ å¾
å级'182                                } else {183                                    that.UpgradeFinalized = 'ç»ä»¶éè¦å级'184                                }185                                if (y.metrics.dfs.namenode.Safemode == '') {186                                    that.Safemode = '没æå¤äºå®å
¨æ¨¡å¼'187                                } else {188                                    that.Safemode = 'å¤äºå®å
¨æ¨¡å¼'189                                }190                                // è·ånamenodeå¯å¨æ¶é´ï¼å¹¶è°ç¨formartDateæ¹æ³ï¼èªå·±ç¼åï¼è½¬æ¢ä¸ºæ£å¸¸æ¥ççæ¨¡å¼ yyyy-MM-dd hh:mm:ss191                                that.NamenodeStartTime = that.formartDate(y.metrics.runtime.StartTime)192                            } else if (hostroles.state == 'STARTED') {193                                // è·åstandbyèç¹çèç¹åç§°åå¯å¨ç¶æ194                                that.standbyNamenodeHost = hostroles.host_name195                                that.namenodeStateB = 'å·²ç»å¯å¨'196                            }197                        }198                    })199                })200            })201          await  axios.get('/api/' + '/api/v1/clusters/HT706/hosts?fields=host_components/HostRoles/state', {202                auth: {203                    username: 'admin',204                    password: 'admin'205                }206            }).then(function (res) {207                // 计æ°å¨éç½®208                that.datanodeCount = 0209                that.datanodeStarted = 0210                that.jourCount = 0211                that.jourStartedCount = 0212                that.datanodeDied = 0213                that.datanodeUnknown = 0214                // æ ¹æ®è¿åçæ°æ®ï¼è®¾å®datanode为è¿åæ°æ®çitems屿§ï¼æ¯ä¸ªæ°ç»ï¼æ°ç»éé¢å
å«åç§ä¿¡æ¯ï¼215                that.datanode = res.data.items216                // æå°é群ç主æºä¸ªæ°217                // alert(that.datanode.length)218                // 对datanodeè¿è¡éåï¼è·åéè¦çä¿¡æ¯219                that.datanode.map(x => {220                    // 对itemså
ç´ xçhost-components屿§è¿è¡éå221                    x.host_components.map(y => {222                        var hostroles = y.HostRoles223                        // 妿yå
ç´ çHostRoles屿§çcomponets_name屿§ä¸ºDATANODE224                        if (hostroles.component_name == 'DATANODE') {225                            // åDatanodeèç¹è®¡æ°å¨+1226                            that.datanodeCount += 1227                            // 妿屿§ä¸ºSTATED228                            if (hostroles.state == 'STARTED') {229                                // ådatanodeStarted计æ°å¨+1230                                that.datanodeStarted += 1231                            } else if (hostroles.state == 'UNKNOWN') {232                                that.datanodeUnknown += 1233                            } else {234                                that.datanodeDied += 1235                            }236                            // æå°ä¸»æºåå主æºdatanodeç¶æ237                            // alert(hostroles.host_name+":"+hostroles.state)238                        }239                        if (hostroles.component_name == 'JOURNALNODE') {240                            that.jourCount += 1241                            if (hostroles.state == 'STARTED') {242                                that.jourStartedCount += 1243                            }244                        }245                    })246                })247            })248            return {249                ZKFCarr: this.ZKFCarr,250                datanode: this.datanode,251                datanodeStarted: this.datanodeStarted,252                datanodeCount: this.datanodeCount,253                namenodeStateA: this.namenodeStateA,254                namenodeStateB: this.namenodeStateB,255                activeNamenodeHost: this.activeNamenodeHost,256                standbyNamenodeHost: this.standbyNamenodeHost,257                datanodeUnknown: this.datanodeUnknown,258                datanodeDied: this.datanodeDied,259                jourStartedCount: this.jourStartedCount,260                jourCount: this.jourCount,261                HeapMemoryMax: this.HeapMemoryMax,262                HeapMemoryUsed: this.HeapMemoryUsed,263                HeapMemoryPercent: this.HeapMemoryPercent,264                CapacityTotalGB: this.CapacityTotalGB,265                CapacityUsedGB: this.CapacityUsedGB,266                CapacityUsedPercent: this.CapacityUsedPercent,267                CapacityNonDFSUsed: this.CapacityNonDFSUsed,268                CapacityNonDFSUsedPercent: this.CapacityNonDFSUsedPercent,269                CapacityRemainingGB: this.CapacityRemainingGB,270                CapacityRemainingGBPercent: this.CapacityRemainingGBPercent,271                BlocksTotal: this.BlocksTotal,272                CorruptBlocks: this.CorruptBlocks,273                MissingBlocks: this.MissingBlocks,274                UnderReplicatedBlocks: this.UnderReplicatedBlocks,275                NamenodeStartTime: this.NamenodeStartTime,276                TotalFiles: this.TotalFiles,277                UpgradeFinalized: this.UpgradeFinalized,278                Safemode: this.Safemode279            }280        },281        getDatanode: function () {282            var that = this283            // 访é®è¯¥é¡µé¢ï¼é¡µé¢ä¸æå
³äºstateç¶æçä¿¡æ¯284            axios.get('/api/' + '/api/v1/clusters/HT706/hosts?fields=host_components/HostRoles/state', {285                auth: {286                    username: 'admin',287                    password: 'admin'288                }289            }).then(function (res) {290                // 计æ°å¨éç½®291                that.datanodeCount = 0292                that.datanodeStarted = 0293                that.jourCount = 0294                that.jourStartedCount = 0295                that.datanodeDied = 0296                that.datanodeUnknown = 0297                // æ ¹æ®è¿åçæ°æ®ï¼è®¾å®datanode为è¿åæ°æ®çitems屿§ï¼æ¯ä¸ªæ°ç»ï¼æ°ç»éé¢å
å«åç§ä¿¡æ¯ï¼298                that.datanode = res.data.items299                // æå°é群ç主æºä¸ªæ°300                // alert(that.datanode.length)301                // 对datanodeè¿è¡éåï¼è·åéè¦çä¿¡æ¯302                that.datanode.map(x => {303                    // 对itemså
ç´ xçhost-components屿§è¿è¡éå304                    x.host_components.map(y => {305                        var hostroles = y.HostRoles306                        // 妿yå
ç´ çHostRoles屿§çcomponets_name屿§ä¸ºDATANODE307                        if (hostroles.component_name == 'DATANODE') {308                            // åDatanodeèç¹è®¡æ°å¨+1309                            that.datanodeCount += 1310                            // 妿屿§ä¸ºSTATED311                            if (hostroles.state == 'STARTED') {312                                // ådatanodeStarted计æ°å¨+1313                                that.datanodeStarted += 1314                            } else if (hostroles.state == 'UNKNOWN') {315                                that.datanodeUnknown += 1316                            } else {317                                that.datanodeDied += 1318                            }319                            // æå°ä¸»æºåå主æºdatanodeç¶æ320                            // alert(hostroles.host_name+":"+hostroles.state)321                        }322                        if (hostroles.component_name == 'JOURNALNODE') {323                            that.jourCount += 1324                            if (hostroles.state == 'STARTED') {325                                that.jourStartedCount += 1326                            }327                        }328                    })329                })330            })331        },332        ht: function () {333            axios.get('/hbase' + '/jmx', {334                auth: {335                    username: 'admin',336                    password: 'admin'337                }338            }).then(function (res) {339                alert(700)340                console.log('----------------------56878gsdfghgjjhgfd--------------------')341                console.log(res.data)342            })343        },344        formartDate (param) {345            let date = new Date(param)346            var Y = date.getFullYear() + '-'347            var M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-'348            var D = date.getDate() < 10 ? '0' + date.getDate() + ' ' : date.getDate() + ' '349            var h = date.getHours() < 10 ? '0' + date.getHours() + ':' : date.getHours() + ':'350            var m = date.getMinutes() < 10 ? '0' + date.getMinutes() + ':' : date.getMinutes() + ':'351            var s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()352            return Y + M + D + h + m + s353        }354    }...office.debug.js
Source:office.debug.js  
1/* Office JavaScript API library */2/* Version: 16.0.2420.1000 */3/*4	Copyright (c) Microsoft Corporation.  All rights reserved.5*/6/*7	Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419.8*/9var OSF = OSF || {10};11OSF.HostSpecificFileVersion = "16.00";12OSF.ConstantNames = {13    HostSpecificFallbackVersion: OSF.HostSpecificFileVersion,14    OfficeJS: "office.js",15    OfficeDebugJS: "office.debug.js",16    DefaultLocale: "en-us",17    LocaleStringLoadingTimeout: 2000,18    OfficeStringJS: "office_strings.debug.js",19    O15InitHelper: "o15apptofilemappingtable.debug.js"20};21OSF.InitializationHelper = function OSF_InitializationHelper(hostInfo, webAppState, context, settings, hostFacade) {22    this._hostInfo = hostInfo;23    this._webAppState = webAppState;24    this._context = context;25    this._settings = settings;26    this._hostFacade = hostFacade;27};28OSF.InitializationHelper.prototype.getAppContext = function OSF_InitializationHelper$getAppContext(wnd, gotAppContext) {29};30OSF.InitializationHelper.prototype.setAgaveHostCommunication = function OSF_InitializationHelper$setAgaveHostCommunication() {31};32OSF.InitializationHelper.prototype.prepareRightBeforeWebExtensionInitialize = function OSF_InitializationHelper$prepareRightBeforeWebExtensionInitialize(appContext) {33};34OSF.InitializationHelper.prototype.loadAppSpecificScriptAndCreateOM = function OSF_InitializationHelper$loadAppSpecificScriptAndCreateOM(appContext, appReady, basePath) {35};36OSF._OfficeAppFactory = (function OSF__OfficeAppFactory() {37    var _setNamespace = function OSF_OUtil$_setNamespace(name, parent) {38        if(parent && name && !parent[name]) {39            parent[name] = {40            };41        }42    };43    _setNamespace("Office", window);44    _setNamespace("Microsoft", window);45    _setNamespace("Office", Microsoft);46    _setNamespace("WebExtension", Microsoft.Office);47    window.Office = Microsoft.Office.WebExtension;48    var _context = {49    };50    var _settings = {51    };52    var _hostFacade = {53    };54    var _WebAppState = {55        id: null,56        webAppUrl: null,57        conversationID: null,58        clientEndPoint: null,59        wnd: window.parent,60        focused: false61    };62    var _hostInfo = {63        isO15: true,64        isRichClient: true,65        hostType: "",66        hostPlatform: "",67        hostSpecificFileVersion: ""68    };69    var _initializationHelper = {70    };71    var _parseHostInfo = function OSF__OfficeAppFactory$_parseHostInfo() {72        var hostInfoValue;73        var hostInfo = "_host_Info=";74        var searchString = window.location.search;75        if(searchString) {76            var hostInfoParts = searchString.split(hostInfo);77            if(hostInfoParts.length > 1) {78                var hostInfoValueRestString = hostInfoParts[1];79                var separatorRegex = new RegExp("/[&#]/g");80                var hostInfoValueParts = hostInfoValueRestString.split(separatorRegex);81                if(hostInfoValueParts.length > 0) {82                    hostInfoValue = hostInfoValueParts[0];83                }84            }85        }86        return hostInfoValue;87    };88    var _loadScript = function OSF_OUtil$_loadScript(url, callback, timeoutInMs) {89        var loadedScripts = {90        };91        var defaultScriptLoadingTimeout = 30000;92        if(url && callback) {93            var doc = window.document;94            var loadedScriptEntry = loadedScripts[url];95            if(!loadedScriptEntry) {96                var script = doc.createElement("script");97                script.type = "text/javascript";98                loadedScriptEntry = {99                    loaded: false,100                    pendingCallbacks: [101                        callback102                    ],103                    timer: null104                };105                loadedScripts[url] = loadedScriptEntry;106                var onLoadCallback = function OSF_OUtil_loadScript$onLoadCallback() {107                    if(loadedScriptEntry.timer != null) {108                        clearTimeout(loadedScriptEntry.timer);109                        delete loadedScriptEntry.timer;110                    }111                    loadedScriptEntry.loaded = true;112                    var pendingCallbackCount = loadedScriptEntry.pendingCallbacks.length;113                    for(var i = 0; i < pendingCallbackCount; i++) {114                        var currentCallback = loadedScriptEntry.pendingCallbacks.shift();115                        currentCallback();116                    }117                };118                var onLoadError = function OSF_OUtil_loadScript$onLoadError() {119                    delete loadedScripts[url];120                    if(loadedScriptEntry.timer != null) {121                        clearTimeout(loadedScriptEntry.timer);122                        delete loadedScriptEntry.timer;123                    }124                    var pendingCallbackCount = loadedScriptEntry.pendingCallbacks.length;125                    for(var i = 0; i < pendingCallbackCount; i++) {126                        var currentCallback = loadedScriptEntry.pendingCallbacks.shift();127                        currentCallback();128                    }129                };130                if(script.readyState) {131                    script.onreadystatechange = function () {132                        if(script.readyState == "loaded" || script.readyState == "complete") {133                            script.onreadystatechange = null;134                            onLoadCallback();135                        }136                    };137                } else {138                    script.onload = onLoadCallback;139                }140                script.onerror = onLoadError;141                timeoutInMs = timeoutInMs || defaultScriptLoadingTimeout;142                loadedScriptEntry.timer = setTimeout(onLoadError, timeoutInMs);143                script.src = url;144                doc.getElementsByTagName("head")[0].appendChild(script);145            } else if(loadedScriptEntry.loaded) {146                callback();147            } else {148                loadedScriptEntry.pendingCallbacks.push(callback);149            }150        }151    };152    var _retrieveHostInfo = function OSF__OfficeAppFactory$_retrieveHostInfo() {153        var hostInfoValue = _parseHostInfo();154        var getSessionStorage = function OSF__OfficeAppFactory$_retrieveHostInfo$getSessionStorage() {155            var osfSessionStorage = null;156            try  {157                if(window.sessionStorage) {158                    osfSessionStorage = window.sessionStorage;159                }160            } catch (ex) {161            }162            return osfSessionStorage;163        };164        var osfSessionStorage = getSessionStorage();165        if(!hostInfoValue && osfSessionStorage && osfSessionStorage.getItem("hostInfoValue")) {166            hostInfoValue = osfSessionStorage.getItem("hostInfoValue");167        }168        if(hostInfoValue) {169            _hostInfo.isO15 = false;170            var items = hostInfoValue.split('|');171            _hostInfo.hostType = items[0];172            _hostInfo.hostPlatform = items[1];173            _hostInfo.hostSpecificFileVersion = items[2];174            var hostSpecificFileVersionValue = parseFloat(_hostInfo.hostSpecificFileVersion);175            if(hostSpecificFileVersionValue > OSF.ConstantNames.HostSpecificFallbackVersion) {176                _hostInfo.hostSpecificFileVersion = OSF.ConstantNames.HostSpecificFallbackVersion.toString();177            }178            if(osfSessionStorage) {179                osfSessionStorage.setItem("hostInfoValue", hostInfoValue);180            }181        } else {182            _hostInfo.isO15 = true;183        }184    };185    var getAppContextAsync = function OSF__OfficeAppFactory$getAppContextAsync(wnd, gotAppContext) {186        _initializationHelper.getAppContext(wnd, gotAppContext);187    };188    var initialize = function OSF__OfficeAppFactory$initialize() {189        _retrieveHostInfo();190        var getScriptBase = function OSF__OfficeAppFactory_initialize$getScriptBase(scriptSrc, scriptNameToCheck) {191            var scriptBase, indexOfJS;192            scriptSrc = scriptSrc.toLowerCase();193            scriptNameToCheck = scriptNameToCheck.toLowerCase();194            indexOfJS = scriptSrc.indexOf(scriptNameToCheck);195            if(indexOfJS >= 0 && indexOfJS === (scriptSrc.length - scriptNameToCheck.length) && (indexOfJS === 0 || scriptSrc.charAt(indexOfJS - 1) === '/' || scriptSrc.charAt(indexOfJS - 1) === '\\')) {196                scriptBase = scriptSrc.substring(0, indexOfJS);197            }198            return scriptBase;199        };200        var scripts = document.getElementsByTagName("script") || [];201        var scriptsCount = scripts.length;202        var officeScripts = [203            OSF.ConstantNames.OfficeJS, 204            OSF.ConstantNames.OfficeDebugJS205        ];206        var officeScriptsCount = officeScripts.length;207        var i, j, basePath;208        for(i = 0; !basePath && i < scriptsCount; i++) {209            if(scripts[i].src) {210                for(j = 0; !basePath && j < officeScriptsCount; j++) {211                    basePath = getScriptBase(scripts[i].src, officeScripts[j]);212                }213            }214        }215        if(!basePath) {216            throw "Office Web Extension script library file name should be " + OSF.ConstantNames.OfficeJS + " or " + OSF.ConstantNames.OfficeDebugJS + ".";217        }218        var numberOfTimeForMsAjaxTries = 500;219        var timerId;220        var loadLocaleStringsAndAppSpecificCode = function OSF__OfficeAppFactory_initialize$loadLocaleStringsAndAppSpecificCode() {221            if(typeof (Sys) !== 'undefined' && typeof (Type) !== 'undefined' && Sys.StringBuilder && typeof (Sys.StringBuilder) === "function" && Type.registerNamespace && typeof (Type.registerNamespace) === "function" && Type.registerClass && typeof (Type.registerClass) === "function") {222                _initializationHelper = new OSF.InitializationHelper(_hostInfo, _WebAppState, _context, _settings, _hostFacade);223                _initializationHelper.setAgaveHostCommunication();224                getAppContextAsync(_WebAppState.wnd, function (appContext) {225                    var postLoadLocaleStringInitialization = function OSF__OfficeAppFactory_initialize$postLoadLocaleStringInitialization() {226                        var retryNumber = 100;227                        var t;228                        function appReady() {229                            if(Microsoft.Office.WebExtension.initialize != undefined) {230                                _initializationHelper.prepareRightBeforeWebExtensionInitialize(appContext);231                                if(t != undefined) {232                                    window.clearTimeout(t);233                                }234                            } else if(retryNumber == 0) {235                                clearTimeout(t);236                                throw "Office.js has not been fully loaded yet. Please try again later or make sure to add your initialization code on the Office.initialize function.";237                            } else {238                                retryNumber--;239                                t = window.setTimeout(appReady, 100);240                            }241                        }242                        ;243                        _initializationHelper.loadAppSpecificScriptAndCreateOM(appContext, appReady, basePath);244                    };245                    var fallbackLocaleTried = false;246                    var loadLocaleStringCallback = function OSF__OfficeAppFactory_initialize$loadLocaleStringCallback() {247                        if(typeof Strings == 'undefined' || typeof Strings.OfficeOM == 'undefined') {248                            if(!fallbackLocaleTried) {249                                fallbackLocaleTried = true;250                                var fallbackLocaleStringFile = basePath + OSF.ConstantNames.DefaultLocale + "/" + OSF.ConstantNames.OfficeStringJS;251                                _loadScript(fallbackLocaleStringFile, loadLocaleStringCallback);252                            } else {253                                throw "Neither the locale, " + appContext.get_appUILocale().toLowerCase() + ", provided by the host app nor the fallback locale " + OSF.ConstantNames.DefaultLocale + " are supported.";254                            }255                        } else {256                            fallbackLocaleTried = false;257                            postLoadLocaleStringInitialization();258                        }259                    };260                    var localeStringFile = OSF.OUtil.formatString("{0}{1}/{2}", basePath, appContext.get_appUILocale().toLowerCase(), OSF.ConstantNames.OfficeStringJS);261                    _loadScript(localeStringFile, loadLocaleStringCallback, OSF.ConstantNames.LocaleStringLoadingTimeout);262                });263            } else if(numberOfTimeForMsAjaxTries === 0) {264                clearTimeout(timerId);265                throw "MicrosoftAjax.js is not loaded successfully.";266            } else {267                numberOfTimeForMsAjaxTries--;268                timerId = window.setTimeout(loadLocaleStringsAndAppSpecificCode, 100);269            }270        };271        if(_hostInfo.isO15) {272            _loadScript(basePath + OSF.ConstantNames.O15InitHelper, loadLocaleStringsAndAppSpecificCode);273        } else {274            var hostSpecificFileName;275            hostSpecificFileName = _hostInfo.hostType + "-" + _hostInfo.hostPlatform + "-" + _hostInfo.hostSpecificFileVersion + ".debug.js";276            _loadScript(basePath + hostSpecificFileName.toLowerCase(), loadLocaleStringsAndAppSpecificCode);277        }278        window.confirm = function OSF__OfficeAppFactory_initialize$confirm(message) {279            throw 'Function window.confirm is not supported.';280        };281        window.alert = function OSF__OfficeAppFactory_initialize$alert(message) {282            throw 'Function window.alert is not supported.';283        };284        window.prompt = function OSF__OfficeAppFactory_initialize$prompt(message, defaultvalue) {285            throw 'Function window.prompt is not supported.';286        };287    };288    initialize();289    return {290        getId: function OSF__OfficeAppFactory$getId() {291            return _WebAppState.id;292        },293        getClientEndPoint: function OSF__OfficeAppFactory$getClientEndPoint() {294            return _WebAppState.clientEndPoint;295        },296        getContext: function OSF__OfficeAppFactory$getContext() {297            return _context;298        },299        setContext: function OSF__OfficeAppFactory$setContext(context) {300            _context = context;301        },302        getHostFacade: function OSF__OfficeAppFactory$getHostFacade() {303            return _hostFacade;304        },305        setHostFacade: function setHostFacade(hostFacade) {306            _hostFacade = hostFacade;307        },308        getInitializationHelper: function OSF__OfficeAppFactory$getInitializationHelper() {309            return _initializationHelper;310        },311        getCachedSessionSettingsKey: function OSF__OfficeAppFactory$getCachedSessionSettingsKey() {312            return _WebAppState.conversationID != null ? _WebAppState.conversationID + "CachedSessionSettings" : "NoConversationIdCachedSessionSettings";313        }314    };...host_list.js
Source:host_list.js  
1// Copyright (c) 2012 The Chromium Authors. All rights reserved.2// Use of this source code is governed by a BSD-style license that can be3// found in the LICENSE file.4/**5 * @fileoverview6 * Class representing the host-list portion of the home screen UI.7 */8'use strict';9/** @suppress {duplicate} */10var remoting = remoting || {};11/**12 * Create a host list consisting of the specified HTML elements, which should13 * have a common parent that contains only host-list UI as it will be hidden14 * if the host-list is empty.15 *16 * @constructor17 * @param {Element} table The HTML <div> to contain host-list.18 * @param {Element} noHosts The HTML <div> containing the "no hosts" message.19 * @param {Element} errorMsg The HTML <div> to display error messages.20 * @param {Element} errorButton The HTML <button> to display the error21 *     resolution action.22 */23remoting.HostList = function(table, noHosts, errorMsg, errorButton) {24  /**25   * @type {Element}26   * @private27   */28  this.table_ = table;29  /**30   * @type {Element}31   * @private32   * TODO(jamiewalch): This should be doable using CSS's sibling selector,33   * but it doesn't work right now (crbug.com/135050).34   */35  this.noHosts_ = noHosts;36  /**37   * @type {Element}38   * @private39   */40  this.errorMsg_ = errorMsg;41  /**42   * @type {Element}43   * @private44   */45  this.errorButton_ = errorButton;46  /**47   * @type {Array.<remoting.HostTableEntry>}48   * @private49   */50  this.hostTableEntries_ = [];51  /**52   * @type {Array.<remoting.Host>}53   * @private54   */55  this.hosts_ = [];56  /**57   * @type {string}58   * @private59   */60  this.lastError_ = '';61  /**62   * @type {remoting.Host?}63   * @private64   */65  this.localHost_ = null;66  /**67   * @type {remoting.HostController.State}68   * @private69   */70  this.localHostState_ = remoting.HostController.State.NOT_IMPLEMENTED;71  this.errorButton_.addEventListener('click',72                                     this.onErrorClick_.bind(this),73                                     false);74};75/**76 * Load the host-list asynchronously from local storage.77 *78 * @param {function():void} onDone Completion callback.79 */80remoting.HostList.prototype.load = function(onDone) {81  // Load the cache of the last host-list, if present.82  /** @type {remoting.HostList} */83  var that = this;84  /** @param {Object.<string>} items */85  var storeHostList = function(items) {86    if (items[remoting.HostList.HOSTS_KEY]) {87      var cached = jsonParseSafe(items[remoting.HostList.HOSTS_KEY]);88      if (cached) {89        that.hosts_ = /** @type {Array} */ cached;90      } else {91        console.error('Invalid value for ' + remoting.HostList.HOSTS_KEY);92      }93    }94    onDone();95  };96  chrome.storage.local.get(remoting.HostList.HOSTS_KEY, storeHostList);97};98/**99 * Search the host list for a host with the specified id.100 *101 * @param {string} hostId The unique id of the host.102 * @return {remoting.Host?} The host, if any.103 */104remoting.HostList.prototype.getHostForId = function(hostId) {105  for (var i = 0; i < this.hosts_.length; ++i) {106    if (this.hosts_[i].hostId == hostId) {107      return this.hosts_[i];108    }109  }110  return null;111};112/**113 * Query the Remoting Directory for the user's list of hosts.114 *115 * @param {function(boolean):void} onDone Callback invoked with true on success116 *     or false on failure.117 * @return {void} Nothing.118 */119remoting.HostList.prototype.refresh = function(onDone) {120  /** @param {XMLHttpRequest} xhr The response from the server. */121  var parseHostListResponse = this.parseHostListResponse_.bind(this, onDone);122  /** @type {remoting.HostList} */123  var that = this;124  /** @param {string} token The OAuth2 token. */125  var getHosts = function(token) {126    var headers = { 'Authorization': 'OAuth ' + token };127    remoting.xhr.get(128        'https://www.googleapis.com/chromoting/v1/@me/hosts',129        parseHostListResponse, '', headers);130  };131  /** @param {remoting.Error} error */132  var onError = function(error) {133    that.hosts_ = [];134    that.lastError_ = error;135    onDone(false);136  };137  remoting.identity.callWithToken(getHosts, onError);138};139/**140 * Handle the results of the host list request.  A success response will141 * include a JSON-encoded list of host descriptions, which we display if we're142 * able to successfully parse it.143 *144 * @param {function(boolean):void} onDone The callback passed to |refresh|.145 * @param {XMLHttpRequest} xhr The XHR object for the host list request.146 * @return {void} Nothing.147 * @private148 */149remoting.HostList.prototype.parseHostListResponse_ = function(onDone, xhr) {150  this.hosts_ = [];151  this.lastError_ = '';152  try {153    if (xhr.status == 200) {154      var response =155          /** @type {{data: {items: Array}}} */ jsonParseSafe(xhr.responseText);156      if (response && response.data) {157        if (response.data.items) {158          this.hosts_ = response.data.items;159          /**160           * @param {remoting.Host} a161           * @param {remoting.Host} b162           */163          var cmp = function(a, b) {164            if (a.status < b.status) {165              return 1;166            } else if (b.status < a.status) {167              return -1;168            }169            return 0;170          };171          this.hosts_ = /** @type {Array} */ this.hosts_.sort(cmp);172        }173      } else {174        this.lastError_ = remoting.Error.UNEXPECTED;175        console.error('Invalid "hosts" response from server.');176      }177    } else {178      // Some other error.179      console.error('Bad status on host list query: ', xhr);180      if (xhr.status == 0) {181        this.lastError_ = remoting.Error.NO_RESPONSE;182      } else if (xhr.status == 401) {183        this.lastError_ = remoting.Error.AUTHENTICATION_FAILED;184      } else if (xhr.status == 502 || xhr.status == 503) {185        this.lastError_ = remoting.Error.SERVICE_UNAVAILABLE;186      } else {187        this.lastError_ = remoting.Error.UNEXPECTED;188      }189    }190  } catch (er) {191    var typed_er = /** @type {Object} */ (er);192    console.error('Error processing response: ', xhr, typed_er);193    this.lastError_ = remoting.Error.UNEXPECTED;194  }195  this.save_();196  onDone(this.lastError_ == '');197};198/**199 * Display the list of hosts or error condition.200 *201 * @return {void} Nothing.202 */203remoting.HostList.prototype.display = function() {204  this.table_.innerText = '';205  this.errorMsg_.innerText = '';206  this.hostTableEntries_ = [];207  var noHostsRegistered = (this.hosts_.length == 0);208  this.table_.hidden = noHostsRegistered;209  this.noHosts_.hidden = !noHostsRegistered;210  for (var i = 0; i < this.hosts_.length; ++i) {211    /** @type {remoting.Host} */212    var host = this.hosts_[i];213    // Validate the entry to make sure it has all the fields we expect and is214    // not the local host (which is displayed separately). NB: if the host has215    // never sent a heartbeat, then there will be no jabberId.216    if (host.hostName && host.hostId && host.status && host.publicKey &&217        (!this.localHost_ || host.hostId != this.localHost_.hostId)) {218      var hostTableEntry = new remoting.HostTableEntry();219      hostTableEntry.create(host,220                            this.renameHost_.bind(this),221                            this.deleteHost_.bind(this));222      this.hostTableEntries_[i] = hostTableEntry;223      this.table_.appendChild(hostTableEntry.tableRow);224    }225  }226  if (this.lastError_ != '') {227    l10n.localizeElementFromTag(this.errorMsg_, this.lastError_);228    if (this.lastError_ == remoting.Error.AUTHENTICATION_FAILED) {229      l10n.localizeElementFromTag(this.errorButton_,230                                  /*i18n-content*/'SIGN_IN_BUTTON');231    } else {232      l10n.localizeElementFromTag(this.errorButton_,233                                  /*i18n-content*/'RETRY');234    }235  }236  this.errorMsg_.parentNode.hidden = (this.lastError_ == '');237  var state = this.localHostState_;238  var enabled = (state == remoting.HostController.State.STARTING) ||239      (state == remoting.HostController.State.STARTED);240  var supported = (state != remoting.HostController.State.NOT_IMPLEMENTED);241  remoting.updateModalUi(enabled ? 'enabled' : 'disabled', 'data-daemon-state');242  document.getElementById('daemon-control').hidden = !supported;243  var element = document.getElementById('host-list-empty-hosting-supported');244  element.hidden = !supported;245  element = document.getElementById('host-list-empty-hosting-unsupported');246  element.hidden = supported;247};248/**249 * Remove a host from the list, and deregister it.250 * @param {remoting.HostTableEntry} hostTableEntry The host to be removed.251 * @return {void} Nothing.252 * @private253 */254remoting.HostList.prototype.deleteHost_ = function(hostTableEntry) {255  this.table_.removeChild(hostTableEntry.tableRow);256  var index = this.hostTableEntries_.indexOf(hostTableEntry);257  if (index != -1) {258    this.hostTableEntries_.splice(index, 1);259  }260  remoting.HostList.unregisterHostById(hostTableEntry.host.hostId);261};262/**263 * Prepare a host for renaming by replacing its name with an edit box.264 * @param {remoting.HostTableEntry} hostTableEntry The host to be renamed.265 * @return {void} Nothing.266 * @private267 */268remoting.HostList.prototype.renameHost_ = function(hostTableEntry) {269  for (var i = 0; i < this.hosts_.length; ++i) {270    if (this.hosts_[i].hostId == hostTableEntry.host.hostId) {271      this.hosts_[i].hostName = hostTableEntry.host.hostName;272      break;273    }274  }275  this.save_();276  /** @param {string?} token */277  var renameHost = function(token) {278    if (token) {279      var headers = {280        'Authorization': 'OAuth ' + token,281        'Content-type' : 'application/json; charset=UTF-8'282      };283      var newHostDetails = { data: {284        hostId: hostTableEntry.host.hostId,285        hostName: hostTableEntry.host.hostName,286        publicKey: hostTableEntry.host.publicKey287      } };288      remoting.xhr.put(289          'https://www.googleapis.com/chromoting/v1/@me/hosts/' +290          hostTableEntry.host.hostId,291          function(xhr) {},292          JSON.stringify(newHostDetails),293          headers);294    } else {295      console.error('Could not rename host. Authentication failure.');296    }297  }298  remoting.identity.callWithToken(renameHost, remoting.showErrorMessage);299};300/**301 * Unregister a host.302 * @param {string} hostId The id of the host to be removed.303 * @return {void} Nothing.304 */305remoting.HostList.unregisterHostById = function(hostId) {306  /** @param {string} token The OAuth2 token. */307  var deleteHost = function(token) {308    var headers = { 'Authorization': 'OAuth ' + token };309    remoting.xhr.remove(310        'https://www.googleapis.com/chromoting/v1/@me/hosts/' + hostId,311        function() {}, '', headers);312  }313  remoting.identity.callWithToken(deleteHost, remoting.showErrorMessage);314};315/**316 * Set tool-tips for the 'connect' action. We can't just set this on the317 * parent element because the button has no tool-tip, and therefore would318 * inherit connectStr.319 *320 * @return {void} Nothing.321 * @private322 */323remoting.HostList.prototype.setTooltips_ = function() {324  var connectStr = '';325  if (this.localHost_) {326    chrome.i18n.getMessage(/*i18n-content*/'TOOLTIP_CONNECT',327                           this.localHost_.hostName);328  }329  document.getElementById('this-host-name').title = connectStr;330  document.getElementById('this-host-icon').title = connectStr;331};332/**333 * Set the state of the local host and localHostId if any.334 *335 * @param {remoting.HostController.State} state State of the local host.336 * @param {string?} hostId ID of the local host, or null.337 * @return {void} Nothing.338 */339remoting.HostList.prototype.setLocalHostStateAndId = function(state, hostId) {340  this.localHostState_ = state;341  this.setLocalHost_(hostId ? this.getHostForId(hostId) : null);342}343/**344 * Set the host object that corresponds to the local computer, if any.345 *346 * @param {remoting.Host?} host The host, or null if not registered.347 * @return {void} Nothing.348 * @private349 */350remoting.HostList.prototype.setLocalHost_ = function(host) {351  this.localHost_ = host;352  this.setTooltips_();353  /** @type {remoting.HostList} */354  var that = this;355  if (host) {356    /** @param {remoting.HostTableEntry} host */357    var renameHost = function(host) {358      that.renameHost_(host);359      that.setTooltips_();360    };361    if (!this.localHostTableEntry_) {362      /** @type {remoting.HostTableEntry} @private */363      this.localHostTableEntry_ = new remoting.HostTableEntry();364      this.localHostTableEntry_.init(365          host,366          document.getElementById('this-host-connect'),367          document.getElementById('this-host-name'),368          document.getElementById('this-host-rename'),369          renameHost);370    } else {371      // TODO(jamiewalch): This is hack to prevent multiple click handlers being372      // registered for the same DOM elements if this method is called more than373      // once. A better solution would be to let HostTable create the daemon row374      // like it creates the rows for non-local hosts.375      this.localHostTableEntry_.host = host;376    }377  } else {378    this.localHostTableEntry_ = null;379  }380}381/**382 * Called by the HostControlled after the local host has been started.383 *384 * @param {string} hostName Host name.385 * @param {string} hostId ID of the local host.386 * @param {string} publicKey Public key.387 * @return {void} Nothing.388 */389remoting.HostList.prototype.onLocalHostStarted = function(390    hostName, hostId, publicKey) {391  // Create a dummy remoting.Host instance to represent the local host.392  // Refreshing the list is no good in general, because the directory393  // information won't be in sync for several seconds. We don't know the394  // host JID, but it can be missing from the cache with no ill effects.395  // It will be refreshed if the user tries to connect to the local host,396  // and we hope that the directory will have been updated by that point.397  var localHost = new remoting.Host();398  localHost.hostName = hostName;399  localHost.hostId = hostId;400  localHost.publicKey = publicKey;401  localHost.status = 'ONLINE';402  this.hosts_.push(localHost);403  this.save_();404  this.setLocalHost_(localHost);405};406/**407 * Called when the user clicks the button next to the error message. The action408 * depends on the error.409 *410 * @private411 */412remoting.HostList.prototype.onErrorClick_ = function() {413  if (this.lastError_ == remoting.Error.AUTHENTICATION_FAILED) {414    remoting.oauth2.doAuthRedirect();415  } else {416    this.lastError_ = '';417    this.display();418    this.refresh(remoting.updateLocalHostState);419  }420};421/**422 * Save the host list to local storage.423 */424remoting.HostList.prototype.save_ = function() {425  var items = {};426  items[remoting.HostList.HOSTS_KEY] = JSON.stringify(this.hosts_);427  chrome.storage.local.set(items);428};429/**430 * Key name under which Me2Me hosts are cached.431 */432remoting.HostList.HOSTS_KEY = 'me2me-cached-hosts';433/** @type {remoting.HostList} */...Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!
