1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 # pylint: disable=W0401,W0614 5 from telemetry.page.actions.all_page_actions import * 6 from telemetry.page import page as page_module 7 from telemetry.page import page_set as page_set_module 8 9 10 class KeyDesktopSitesPage(page_module.Page): 11 12 def __init__(self, url, page_set): 13 super(KeyDesktopSitesPage, self).__init__(url=url, page_set=page_set) 14 self.credentials_path = 'data/credentials.json' 15 self.archive_data_file = 'data/key_desktop_sites.json' 16 17 def RunSmoothness(self, action_runner): 18 action_runner.RunAction(ScrollAction()) 19 20 21 class FacebookPage(KeyDesktopSitesPage): 22 23 def __init__(self, page_set): 24 super(FacebookPage, self).__init__( 25 url='http://facebook.com', 26 page_set=page_set) 27 28 self.credentials = 'facebook' 29 30 31 class GmailPage(KeyDesktopSitesPage): 32 33 def __init__(self, page_set): 34 super(GmailPage, self).__init__( 35 url='https://mail.google.com/mail/', 36 page_set=page_set) 37 38 self.scrollable_element_function = ''' 39 function(callback) { 40 gmonkey.load('2.0', function(api) { 41 callback(api.getScrollableElement()); 42 }); 43 }''' 44 self.credentials = 'google' 45 46 def RunSmoothness(self, action_runner): 47 action_runner.RunAction(ScrollAction()) 48 action_runner.WaitForJavaScriptCondition( 49 'window.gmonkey !== undefined && ' 50 'document.getElementById("gb") !== null') 51 52 53 class GoogleCalendarPage(KeyDesktopSitesPage): 54 55 def __init__(self, page_set): 56 super(GoogleCalendarPage, self).__init__( 57 url='https://www.google.com/calendar/', 58 page_set=page_set) 59 60 self.scrollable_element_function = ''' 61 function(callback) { 62 callback(document.getElementById('scrolltimedeventswk')); 63 }''' 64 self.credentials = 'google' 65 66 67 class GoogleDrivePage(KeyDesktopSitesPage): 68 69 def __init__(self, page_set): 70 super(GoogleDrivePage, self).__init__( 71 url='https://drive.google.com', 72 page_set=page_set) 73 74 self.scrollable_element_function = ''' 75 function(callback) { 76 callback(document.getElementsByClassName('doclistview-list')[0]); 77 }''' 78 self.credentials = 'google' 79 80 def RunSmoothness(self, action_runner): 81 action_runner.RunAction(ScrollAction()) 82 action_runner.WaitForJavaScriptCondition( 83 'document.getElementsByClassName("doclistview-list").length') 84 85 86 class GoogleDocPage(KeyDesktopSitesPage): 87 88 def __init__(self, page_set): 89 super(GoogleDocPage, self).__init__( 90 # pylint: disable=C0301 91 url='https://docs.google.com/a/google.com/document/d/1XMAtPiVFZfItsMUOYl39v5YA8bcSPe4LDrVO25OdsCU/edit', 92 page_set=page_set) 93 94 self.scrollable_element_function = ''' 95 function(callback) { 96 callback(document.getElementsByClassName('kix-appview-editor')[0]); 97 }''' 98 self.credentials = 'google' 99 100 def RunSmoothness(self, action_runner): 101 action_runner.RunAction(ScrollAction()) 102 action_runner.WaitForJavaScriptCondition( 103 'document.getElementsByClassName("kix-appview-editor").length') 104 105 106 class KeyDesktopSitesPageSet(page_set_module.PageSet): 107 108 """ Sites of Interest """ 109 110 def __init__(self): 111 super(KeyDesktopSitesPageSet, self).__init__( 112 credentials_path='data/credentials.json', 113 archive_data_file='data/key_desktop_sites.json', 114 bucket=page_set_module.PARTNER_BUCKET) 115 116 self.AddPage(FacebookPage(self)) 117 self.AddPage(GmailPage(self)) 118 self.AddPage(GoogleCalendarPage(self)) 119 self.AddPage(GoogleDrivePage(self)) 120 self.AddPage(GoogleDocPage(self)) 121 122 urls_list = [ 123 'http://www.google.com/nexus/5/#/', 124 'http://youtube.com', 125 'http://twitter.com/nbc', 126 'http://bbc.co.uk', 127 'http://imdb.com', 128 'http://espn.go.com', 129 'http://cnn.com', 130 'http://bbc.co.uk/news/', 131 'http://weather.com', 132 'http://livejournal.com', 133 'http://deviantart.com', 134 'http://foxnews.com', 135 'http://nbcnews.com', 136 'http://scribd.com', 137 'http://movies.yahoo.com', 138 'http://tv.yahoo.com', 139 'http://pandora.com', 140 'http://tmz.com', 141 'http://hulu.com', 142 'http://abcnews.go.com', 143 'http://youtube.com/videos', 144 'http://ndtv.com', 145 'http://money.cnn.com', 146 'http://msn.foxsports.com', 147 'http://cbsnews.com', 148 'http://wired.com', 149 'http://cnbc.com', 150 'http://sportsillustrated.cnn.com', 151 'http://home.disney.go.com', 152 'http://urbandictionary.com', 153 'http://rottentomatoes.com', 154 'http://foodnetwork.com', 155 'http://npr.org', 156 'http://gawker.com', 157 'http://last.fm', 158 'http://sky.com', 159 'http://eonline.com', 160 'http://egotastic.com', 161 'http://copyscape.com', 162 'http://mtv.com', 163 'http://ultimate-guitar.com', 164 'http://comcast.com', 165 'http://cbc.ca', 166 'http://fanfiction.net', 167 'http://discovery.com', 168 'http://deezer.com', 169 'http://metrolyrics.com', 170 'http://foxnews.com/entertainment/', 171 'http://cartoonnetwork.com', 172 'http://paypal.com', 173 'http://finance.yahoo.com', 174 'http://alibaba.com', 175 'http://bankofamerica.com', 176 'http://www.chase.com/', 177 'http://wellsfargo.com', 178 'http://skype.com', 179 'http://online.wsj.com', 180 'http://indeed.com', 181 'http://samsung.com', 182 'http://reuters.com', 183 'http://ups.com', 184 'http://forbes.com', 185 'http://clickbank.com', 186 'http://target.com', 187 'http://att.com', 188 'http://cj.com', 189 'http://constantcontact.com', 190 'http://ezinearticles.com', 191 'http://shutterstock.com', 192 'http://americanexpress.com', 193 'http://freelancer.com', 194 'http://istockphoto.com', 195 'http://fedex.com', 196 'http://verizonwireless.com', 197 'http://capitalone.com', 198 'http://bloomberg.com', 199 'http://monster.com', 200 'http://hdfcbank.com', 201 'http://fotolia.com', 202 'http://thesun.co.uk', 203 'http://zillow.com', 204 'http://nokia.com', 205 'http://tradedoubler.com', 206 'http://icicibank.com', 207 'http://123rf.com', 208 'http://elance.com', 209 'http://icbc.com.cn', 210 'http://news.cnet.com', 211 'http://verizon.com', 212 'http://careerbuilder.com', 213 'http://sears.com', 214 'http://getresponse.com', 215 'http://sitesell.com', 216 'http://manta.com', 217 'http://www.blogger.com/', 218 'http://avg.com', 219 'http://google.com/analytics/', 220 'http://go.com', 221 'http://flickr.com', 222 'http://aol.com', 223 'http://thepiratebay.se', 224 'http://zedo.com', 225 'http://about.com', 226 'http://stackoverflow.com', 227 'http://godaddy.com', 228 'http://mediafire.com', 229 'http://wordpress.org', 230 'http://adwords.google.com', 231 'http://imgur.com', 232 'http://4shared.com', 233 'http://vimeo.com', 234 'http://play.google.com/', 235 'http://badoo.com', 236 'http://aweber.com', 237 'http://mozilla.org', 238 'http://www.stumbleupon.com/stumbler/chimacintosh', 239 'http://www.google.com/adsense/', 240 'http://my.yahoo.com', 241 'http://sourceforge.net', 242 'http://answers.com', 243 'http://wordpress.org/extend/plugins/', 244 'http://photobucket.com', 245 'http://clicksor.com', 246 'http://google.com/reader/', 247 'http://store.apple.com', 248 'http://wikia.com', 249 'http://statcounter.com', 250 'http://fiverr.com', 251 'http://slideshare.net', 252 'http://salesforce.com', 253 'http://myspace.com', 254 'http://hootsuite.com', 255 'http://domaintools.com', 256 'http://rediff.com', 257 'http://soundcloud.com', 258 'http://download.cnet.com', 259 'http://archive.org', 260 'http://filestube.com', 261 'http://developers.facebook.com', 262 'http://hostgator.com', 263 'http://battle.net', 264 'http://pch.com', 265 'http://ign.com', 266 'http://pogo.com', 267 'http://miniclip.com', 268 'http://888.com', 269 'http://gamespot.com', 270 'http://steampowered.com', 271 'http://gamefaqs.com', 272 'http://xbox.com', 273 'http://games.yahoo.com', 274 'http://betfair.com', 275 'http://kongregate.com', 276 'http://ea.com', 277 'http://leagueoflegends.com', 278 'http://roblox.com', 279 'http://williamhill.com', 280 'http://playstation.com', 281 'http://wowhead.com', 282 'http://king.com', 283 'http://minecraft.net', 284 'http://chess.com', 285 'http://minecraftwiki.net', 286 'http://addictinggames.com', 287 'http://mmo-champion.com', 288 'http://runescape.com', 289 'http://travian.com', 290 'http://zone.msn.com', 291 'http://ubi.com', 292 'http://calottery.com', 293 'http://freeonlinegames.com', 294 'http://games.com', 295 'http://n4g.com', 296 'http://nvidia.com', 297 'http://callofduty.com', 298 'http://us.playstation.com', 299 'http://bet-at-home.com', 300 'http://gametrailers.com', 301 'http://teamliquid.net', 302 'http://nick.com/games/', 303 'http://planetminecraft.com', 304 'http://nintendo.com', 305 'http://popcap.com', 306 'http://gamehouse.com', 307 'http://curse.com', 308 'http://bulbagarden.net', 309 'http://rockstargames.com', 310 'http://partycasino.com', 311 'http://square-enix.com', 312 'http://perfectworld.com', 313 'http://nih.gov', 314 'http://webmd.com', 315 'http://ncbi.nlm.nih.gov/pubmed/', 316 'http://focusoncrohnsdisease.com', 317 'http://mayoclinic.com', 318 'http://mercola.com', 319 'http://drugs.com', 320 'http://menshealth.com', 321 'http://nlm.nih.gov/medlineplus/', 322 'http://weightwatchers.com', 323 'http://cdc.gov', 324 'http://caloriecount.about.com', 325 'http://patents.uspto.gov', 326 'http://psychologytoday.com', 327 'http://nhs.uk', 328 'http://medscape.com', 329 'http://foxnews.com/health/', 330 'http://who.int', 331 'http://healthboards.com', 332 'http://self.com', 333 'http://health.com', 334 'http://kidshealth.org', 335 'http://fda.gov', 336 'http://netdoctor.co.uk', 337 'http://prevention.com', 338 'http://makeupalley.com', 339 'http://stevepavlina.com', 340 'http://realage.com', 341 'http://fitnessmagazine.com', 342 'http://healthcentral.com', 343 'http://rxlist.com', 344 'http://vitals.com', 345 'http://totalbeauty.com', 346 'http://nuance.com', 347 'http://telegraph.co.uk/health/', 348 'http://drbatras.com', 349 'http://emedtv.com', 350 'http://bmj.com', 351 'http://medcohealth.com', 352 'http://webmd.com/skin-problems-and-treatments/default.htm', 353 'http://tums.ac.ir', 354 'http://apa.org', 355 'http://cancer.org', 356 'http://healthguru.com', 357 'http://earthclinic.com', 358 'http://curezone.com', 359 'http://beauty.about.com', 360 'http://www.kaiserpermanente.org/', 361 'http://drweil.com', 362 'http://24hourfitness.com', 363 'http://ehow.com', 364 'http://yelp.com', 365 'http://groupon.com/san-francisco', 366 'http://engadget.com', 367 'http://gsmarena.com', 368 'http://reviews.cnet.com', 369 'http://allrecipes.com', 370 'http://autos.yahoo.com', 371 'http://shopping.yahoo.com', 372 'http://gizmodo.com', 373 'http://marketwatch.com', 374 'http://babycenter.com', 375 'http://nextag.com', 376 'http://fixya.com', 377 'http://dpreview.com', 378 'http://tomshardware.com', 379 'http://theverge.com', 380 'http://instructables.com', 381 'http://cafemom.com', 382 'http://google.com/products', 383 'http://bbb.org', 384 'http://shopping.com', 385 'http://irs.gov', 386 'http://kbb.com', 387 'http://retailmenot.com', 388 'http://edmunds.com', 389 'http://mobile9.com', 390 'http://bankrate.com', 391 'http://fatwallet.com', 392 'http://fool.com', 393 'http://hgtv.com', 394 'http://coupons.com', 395 'http://apartmenttherapy.com', 396 'http://phonearena.com', 397 'http://shopzilla.com', 398 'http://marthastewart.com', 399 'http://consumerreports.org', 400 'http://pricegrabber.com', 401 'http://epinions.com', 402 'http://cooks.com', 403 'http://bhg.com', 404 'http://mouthshut.com', 405 'http://travel.state.gov', 406 'http://realsimple.com', 407 'http://opendns.com', 408 'http://gardenweb.com', 409 'http://blu-ray.com', 410 'http://thesaurus.com', 411 'http://espncricinfo.com', 412 'http://weebly.com', 413 'http://bbc.co.uk/sport/0/football/', 414 'http://y8.com', 415 'http://xe.com/ucc/', 416 'http://timeanddate.com', 417 'http://soccernet.espn.go.com', 418 'http://howstuffworks.com', 419 'http://en.wikipedia.org/wiki/Main_Page', 420 'http://reverso.net', 421 'http://timeanddate.com/worldclock/', 422 'http://sitepoint.com', 423 'http://usopen.org', 424 'http://stardoll.com', 425 'http://london2012.com', 426 'http://lego.com', 427 'http://000webhost.com', 428 'http://fifa.com', 429 'http://uefa.com', 430 'http://nick.com', 431 'http://girlsgogames.com', 432 'http://pbskids.org', 433 'http://thestar.com', 434 'http://dynamicdrive.com', 435 'http://nickjr.com', 436 'http://manutd.com', 437 'http://earthquake.usgs.gov', 438 'http://khanacademy.org', 439 'http://barbie.com', 440 'http://sciencedaily.com', 441 'http://gocomics.com', 442 'http://webdeveloper.com', 443 'http://www2.warnerbros.com', 444 'http://jpl.nasa.gov', 445 'http://yola.com', 446 'http://bom.gov.au', 447 'http://nationalpost.com', 448 'http://booking.com', 449 'http://tripadvisor.com', 450 'http://agoda.com', 451 'http://xe.com', 452 'http://expedia.com', 453 'http://metacafe.com', 454 'http://priceline.com', 455 'http://southwest.com', 456 'http://cracked.com', 457 'http://kayak.com', 458 'http://travelocity.com', 459 'http://united.com', 460 'http://delta.com', 461 'http://ryanair.com', 462 'http://lonelyplanet.com', 463 'http://orbitz.com', 464 'http://aa.com', 465 'http://easyjet.com', 466 'http://hilton.com', 467 'http://travel.yahoo.com', 468 'http://marriott.com', 469 'http://couchsurfing.org', 470 'http://hotwire.com', 471 'http://autoblog.com', 472 'http://lufthansa.com', 473 'http://theonion.com', 474 'http://britishairways.com', 475 'http://travelzoo.com', 476 'http://ebaumsworld.com', 477 'http://emirates.com', 478 'http://venere.com', 479 'http://wikitravel.org', 480 'http://jal.co.jp', 481 'http://collegehumor.com', 482 'http://ford.com', 483 'http://vrbo.com', 484 'http://opentable.com', 485 'http://hyatt.com', 486 'http://klm.com', 487 'http://airberlin.com', 488 'http://usairways.com', 489 'http://skyscanner.net', 490 'http://timeout.com', 491 'http://homeaway.com', 492 'http://lonelyplanet.com/thorntree/', 493 'http://virgin-atlantic.com', 494 'http://news.yahoo.com', 495 'http://huffingtonpost.com', 496 'http://news.google.com', 497 'http://reddit.com', 498 'http://guardian.co.uk', 499 'http://timesofindia.indiatimes.com', 500 'http://washingtonpost.com', 501 'http://usatoday.com', 502 'http://drudgereport.com', 503 'http://latimes.com', 504 'http://wunderground.com', 505 'http://accuweather.com', 506 'http://examiner.com', 507 'http://news.com.au', 508 'http://time.com', 509 'http://alarabiya.net', 510 'http://businessweek.com', 511 'http://smh.com.au', 512 'http://weather.yahoo.com', 513 'http://foxnews.com/politics/', 514 'http://economictimes.indiatimes.com', 515 'http://nationalgeographic.com', 516 'http://ft.com', 517 'http://nypost.com', 518 'http://sfgate.com', 519 'http://topix.com', 520 'http://hindustantimes.com', 521 'http://chicagotribune.com', 522 'http://newsmax.com', 523 'http://breitbart.com', 524 'http://economist.com', 525 'http://theatlantic.com', 526 'http://prweb.com', 527 'http://theglobeandmail.com', 528 'http://answers.yahoo.com', 529 'http://wiki.answers.com', 530 'http://wordreference.com', 531 'http://thefreedictionary.com', 532 'http://dict.leo.org', 533 'http://w3.org', 534 'http://nlm.nih.gov', 535 'http://goodreads.com', 536 'http://mapquest.com', 537 'http://yellowpages.com', 538 'http://wiktionary.org', 539 'http://dict.cc', 540 'http://bing.com/maps/', 541 'http://whitepages.com', 542 'http://m-w.com', 543 'http://classmates.com', 544 'http://blackboard.com', 545 'http://justanswer.com', 546 'http://mit.edu', 547 'http://medterms.com', 548 'http://stanford.edu', 549 'http://brainyquote.com', 550 'http://harvard.edu', 551 'http://superpages.com', 552 'http://mylife.com', 553 'http://en.wiktionary.org', 554 'http://investopedia.com', 555 'http://lumosity.com', 556 'http://phoenix.edu', 557 'http://berkeley.edu', 558 'http://ecollege.com', 559 'http://ed.gov', 560 'http://yellowpages.sulekha.com', 561 'http://wisegeek.com', 562 'http://utexas.edu', 563 'http://wwp.greenwichmeantime.com', 564 'http://cornell.edu', 565 'http://psu.edu', 566 'http://maps.yahoo.com', 567 'http://linkedin.com/answers', 568 'http://yahoo.co.jp', 569 'http://translate.google.com', 570 'http://noaa.gov', 571 'http://ncbi.nlm.nih.gov', 572 'http://nhc.noaa.gov', 573 'http://ted.com', 574 'http://jma.go.jp', 575 'http://usgs.gov', 576 'http://care2.com', 577 'http://sciencedirect.com', 578 'http://intellicast.com', 579 'http://guardian.co.uk/technology', 580 'http://nature.com', 581 'http://wunderground.com/tropical/', 582 'http://ieee.org', 583 'http://elsevier.com', 584 'http://usda.gov', 585 'http://redorbit.com', 586 'http://scientificamerican.com', 587 'http://nps.gov', 588 'http://metoffice.gov.uk', 589 'http://space.com', 590 'http://foreignpolicy.com', 591 'http://bbc.co.uk/news/technology/', 592 'http://newscientist.com', 593 'http://livescience.com', 594 'http://jstor.org', 595 'http://mnn.com', 596 'http://foxnews.com/scitech/', 597 'http://census.gov', 598 'http://epa.gov', 599 'http://bls.gov', 600 'http://metric-conversions.org', 601 'http://news.nationalgeographic.com/index.rss', 602 'http://bbc.co.uk/news/science_and_environment/', 603 'http://colorado.edu', 604 'http://popsci.com', 605 'http://amazon.com', 606 'http://ebay.com', 607 'http://netflix.com', 608 'http://amazon.co.uk', 609 'http://walmart.com', 610 'http://ikea.com', 611 'http://bestbuy.com', 612 'http://multiply.com', 613 'http://newegg.com', 614 'http://homedepot.com', 615 'http://macys.com', 616 'http://livingsocial.com', 617 'http://gap.com', 618 'http://bodybuilding.com', 619 'http://kohls.com', 620 'http://barnesandnoble.com', 621 'http://lowes.com', 622 'http://zappos.com', 623 'http://overstock.com', 624 'http://legacy.com', 625 'http://staples.com', 626 'http://shutterfly.com', 627 'http://nike.com', 628 'http://nordstrom.com', 629 'http://pixmania.com', 630 'http://costco.com', 631 'http://bhphotovideo.com', 632 'http://hm.com', 633 'http://ticketmaster.com', 634 'http://jcpenney.com', 635 'http://walgreens.com', 636 'http://qvc.com', 637 'http://autotrader.com', 638 'http://tigerdirect.com', 639 'http://trademe.co.nz', 640 'http://sony.com', 641 'http://directv.com', 642 'http://buy.com', 643 'http://victoriassecret.com', 644 'http://cars.com', 645 'http://gamestop.com', 646 'http://cvs.com', 647 'http://dealextreme.com', 648 'http://cafepress.com', 649 'http://6pm.com', 650 'http://facebook.com/home.php#!/OccupyAirForce', 651 'http://deviantart.com/#catpath=anthro', 652 'http://shine.yahoo.com', 653 'http://match.com', 654 'http://siteadvisor.com', 655 'http://digg.com', 656 'http://hi5.com', 657 'http://ancestry.com', 658 'http://sulekha.com', 659 'http://europa.eu', 660 'http://biblegateway.com', 661 'http://slate.com', 662 'http://correios.com.br', 663 'http://wonderwall.msn.com', 664 'http://change.org', 665 'http://state.gov', 666 'http://salon.com', 667 'http://askmen.com', 668 'http://infowars.com', 669 'http://wnd.com', 670 'http://ec.europa.eu', 671 'http://justjared.com', 672 'http://sheknows.com', 673 'http://slashdot.org', 674 'http://newgrounds.com', 675 'http://weeklystandard.com', 676 'http://royalmail.com', 677 'http://snopes.com', 678 'http://lds.org', 679 'http://dailykos.com', 680 'http://complex.com', 681 'http://avaaz.org', 682 'http://aarp.org', 683 'http://theregister.co.uk', 684 'http://creativecommons.org', 685 'http://jw.org', 686 'http://peoplesmart.com', 687 'http://uspto.gov', 688 'http://uscis.gov', 689 'http://whitehouse.gov', 690 'http://townhall.com', 691 'http://sec.gov', 692 'http://sports.yahoo.com', 693 'http://nfl.com', 694 'http://mlb.mlb.com', 695 'http://cbssports.com', 696 'http://bleacherreport.com', 697 'http://livescore.com', 698 'http://espn.go.com/nfl/', 699 'http://sports.yahoo.com/nfl', 700 'http://espn.go.com/mlb/', 701 'http://premierleague.com', 702 'http://skysports.com', 703 'http://sports.yahoo.com/mlb', 704 'http://games.espn.go.com/frontpage', 705 'http://uk.eurosport.yahoo.com', 706 'http://baseball.fantasysports.yahoo.com', 707 'http://baseball.fantasysports.yahoo.com/b1', 708 'http://skysports.com/football/', 709 'http://nba.com', 710 'http://hattrick.org', 711 'http://wwe.com', 712 'http://telegraph.co.uk/sport/', 713 'http://rivals.com', 714 'http://sports.yahoo.com/fantasy', 715 'http://espn.go.com/nba/', 716 'http://scout.com', 717 'http://msn.foxsports.com/nfl', 718 'http://sports.yahoo.com/nfl/players/', 719 'http://guardian.co.uk/football', 720 'http://rotoworld.com', 721 'http://nascar.com', 722 'http://arsenal.com', 723 'http://formula1.com', 724 'http://yardbarker.com', 725 'http://pgatour.com', 726 'http://rei.com', 727 'http://liverpoolfc.tv', 728 'http://deadspin.com', 729 'http://sbnation.com', 730 'https://www.google.com', 731 'https://www.google.com/search?q=barack%20obama', 732 'https://maps.google.com', 733 'http://reader.google.com', 734 'https://plus.google.com/110031535020051778989/posts/2wP4KPPBMG8', 735 'https://plus.google.com/110031535020051778989/photos', 736 'http://googleblog.blogspot.com/', 737 'https://chrome.google.com/webstore/category/home', 738 'http://staff.tumblr.com/', 739 'http://mashable.com/', 740 'http://www.buzzfeed.com/celebrity', 741 'http://www.thedailybeast.com/', 742 'http://www.theverge.com/', 743 'http://techcrunch.com/', 744 'http://www.engadget.com/', 745 'http://gizmodo.com/', 746 'http://thinkprogress.org/?mobile=nc', 747 'http://gawker.com/', 748 'http://arstechnica.com/', 749 'http://boingboing.net/category/featured/', 750 'http://thenextweb.com/', 751 'http://politicalticker.blogs.cnn.com/', 752 'http://deadspin.com/', 753 'http://news.yahoo.com/', 754 'http://www.cnn.com/', 755 'http://www.nbcnews.com/', 756 'http://www.bbc.co.uk/news/', 757 'http://www.reddit.com/', 758 'http://my.yahoo.com/', 759 'http://www.foxnews.com/', 760 'http://www.guardiannews.com/uk-home', 761 'http://timesofindia.indiatimes.com/', 762 'http://online.wsj.com/home-page', 763 'http://www.forbes.com/home_usa/', 764 'http://www.washingtonpost.com/', 765 'http://www.usatoday.com/', 766 'http://drudgereport.com/', 767 'http://abcnews.go.com/', 768 'http://www.latimes.com/', 769 'http://www.bloomberg.com/', 770 'http://money.cnn.com/', 771 'http://www.news.com.au/', 772 'http://www.cbsnews.com/', 773 'http://www.examiner.com/', 774 'http://www.cnbc.com/', 775 'http://www.alarabiya.net/default.html', 776 'http://www.time.com/time/', 777 'http://www.foxnews.com/politics/index.html', 778 'http://www.smh.com.au/', 779 'http://www.businessweek.com/', 780 'http://www.nationalgeographic.com/', 781 # pylint: disable=C0301 782 'http://www.wunderground.com/cgi-bin/findweather/getForecast?query=94035&sp=KCAMOUNT24', 783 # pylint: disable=C0301 784 'http://www.accuweather.com/en/search-locations?zipcode=mountain%20view,%20ca', 785 'http://www.weather.com/weather/right-now/Mountain+View+CA+94043', 786 # pylint: disable=C0301 787 'http://weather.yahoo.com/united-states/california/mountain-view-12797130/', 788 'http://www.yr.no/place/Norway/Oslo/Oslo/Oslo/', 789 'http://www.metoffice.gov.uk/', 790 'http://www.intellicast.com/Local/Weather.aspx?location=USCA0746', 791 # pylint: disable=C0301 792 'http://www.shutterstock.com/cat.mhtml?searchterm=google&search_group=&lang=en&search_source=search_form', 793 'http://www.flickr.com/search/?q=monkeys&f=hp', 794 # pylint: disable=C0301 795 'http://www.flickr.com/photos/davidgutierrez/sets/72157604615916402/?page=3', 796 # pylint: disable=C0301 797 'http://www.flickr.com/photos/davidgutierrez/sets/72157604615916402/show/with/4403158307/', 798 'http://www.apple.com/iphone/', 799 'http://www.taobao.com/index_global.php', 800 'http://hootsuite.com/', 801 'http://www.android.com/', 802 'https://www.change.org/', 803 'http://www.nytimes.com/skimmer/#/Technology', 804 'http://www.glennbeck.com/', 805 'http://www.pengyou.com/mobile?from=loginAndroid', 806 'http://en.wikipedia.org/wiki/Cat', 807 'http://en.wikipedia.org/wiki/British_Royal_Family', 808 'http://9gag.com/gag/5202885', 809 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria', 810 'http://twitter.github.com/bootstrap/', 811 # pylint: disable=C0301 812 'http://reviews.cnet.com/8301-13727_7-57431192-263/disable-elastic-scrolling-in-os-x/', 813 'http://mlb.com', 814 'http://thenounproject.com/zh-cn/', 815 'http://allrecipes.com/recipe/chicken-pot-pie-ix/', 816 'http://www.gamespot.com/', 817 'http://valleywag.com/', 818 # pylint: disable=C0301 819 'http://gawker.com/5939683/based-on-a-true-story-is-a-rotten-lie-i-hope-you-never-believe', 820 'http://www.imdb.com/title/tt0910970/', 821 'http://www.html5rocks.com/en/', 822 # pylint: disable=C0301 823 'http://athome.kimvallee.com/2010/03/why-to-splurge-on-a-high-end-dishwasher/', 824 ('http://mlb.mlb.com/mlb/gameday/index.jsp?gid=2012_08_31_sfnmlb_chnmlb_1' 825 '&mode=wrap#gid=2012_08_31_sfnmlb_chnmlb_1&mode=box'), 826 'http://nytimes.com', 827 'http://arstechnica.com', 828 'http://pinterest.com', 829 'http://www.theregister.co.uk/', 830 'http://forum.xda-developers.com/', 831 'http://maps.google.com', 832 'https://www.google.com/search?num=10&hl=en&site=&tbm=isch&q=cats', 833 'http://code.google.com/p/chromium/issues/list', 834 ('http://code.google.com/p/chromium/issues/detail?id=142038' 835 '&q=black%20screen%20amd&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20OS' 836 '%20Area%20Feature%20Status%20Owner%20Summary'), 837 'http://mlb.mlb.com/index.jsp', 838 'http://www.nfl.com/', 839 'http://airbnb.github.com/infinity/demo-on.html', 840 'http://habrahabr.ru/post/149892/#habracut' 841 ] 842 843 for url in urls_list: 844 self.AddPage(KeyDesktopSitesPage(url, self)) 845