dom/phonenumberutils/mcc_iso3166_table.jsm

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 // MCC(Mobile Country Codes) and country name(ISO3166-1) mapping table.
michael@0 2 // Reference Data from:
michael@0 3 // http://en.wikipedia.org/wiki/List_of_mobile_country_codes
michael@0 4
michael@0 5 this.EXPORTED_SYMBOLS = ["MCC_ISO3166_TABLE"];
michael@0 6
michael@0 7 this.MCC_ISO3166_TABLE = {
michael@0 8 412:'AF',
michael@0 9 276:'AL',
michael@0 10 603:'DZ',
michael@0 11 544:'AS',
michael@0 12 213:'AD',
michael@0 13 631:'AO',
michael@0 14 365:'AI',
michael@0 15 344:'AG',
michael@0 16 722:'AR',
michael@0 17 283:'AM',
michael@0 18 363:'AW',
michael@0 19 505:'AU',
michael@0 20 232:'AT',
michael@0 21 400:'AZ',
michael@0 22 364:'BS',
michael@0 23 426:'BH',
michael@0 24 470:'BD',
michael@0 25 342:'BB',
michael@0 26 257:'BY',
michael@0 27 206:'BE',
michael@0 28 702:'BZ',
michael@0 29 616:'BJ',
michael@0 30 350:'BM',
michael@0 31 402:'BT',
michael@0 32 736:'BO',
michael@0 33 218:'BA',
michael@0 34 652:'BW',
michael@0 35 724:'BR',
michael@0 36 348:'VG',
michael@0 37 528:'BN',
michael@0 38 284:'BG',
michael@0 39 613:'BF',
michael@0 40 642:'BI',
michael@0 41 456:'KH',
michael@0 42 624:'CM',
michael@0 43 302:'CA',
michael@0 44 625:'CV',
michael@0 45 346:'KY',
michael@0 46 623:'CF',
michael@0 47 622:'TD',
michael@0 48 730:'CL',
michael@0 49 460:'CN',
michael@0 50 461:'CN',
michael@0 51 732:'CO',
michael@0 52 654:'KM',
michael@0 53 629:'CG',
michael@0 54 548:'CK',
michael@0 55 712:'CR',
michael@0 56 612:'CI',
michael@0 57 219:'HR',
michael@0 58 368:'CU',
michael@0 59 362:'CW',
michael@0 60 280:'CY',
michael@0 61 230:'CZ',
michael@0 62 630:'CD',
michael@0 63 238:'DK',
michael@0 64 638:'DJ',
michael@0 65 366:'DM',
michael@0 66 370:'DO',
michael@0 67 514:'TL',
michael@0 68 740:'EC',
michael@0 69 602:'EG',
michael@0 70 706:'SV',
michael@0 71 627:'GQ',
michael@0 72 657:'ER',
michael@0 73 248:'EE',
michael@0 74 636:'ET',
michael@0 75 750:'FK',
michael@0 76 288:'FO',
michael@0 77 542:'FJ',
michael@0 78 244:'FI',
michael@0 79 208:'FR',
michael@0 80 742:'GF',
michael@0 81 547:'PF',
michael@0 82 628:'GA',
michael@0 83 607:'GM',
michael@0 84 282:'GE',
michael@0 85 262:'DE',
michael@0 86 620:'GH',
michael@0 87 266:'GI',
michael@0 88 202:'GR',
michael@0 89 290:'GL',
michael@0 90 352:'GD',
michael@0 91 340:'GP',
michael@0 92 535:'GU',
michael@0 93 704:'GT',
michael@0 94 611:'GN',
michael@0 95 632:'GW',
michael@0 96 738:'GY',
michael@0 97 372:'HT',
michael@0 98 708:'HN',
michael@0 99 454:'HK',
michael@0 100 216:'HU',
michael@0 101 274:'IS',
michael@0 102 404:'IN',
michael@0 103 405:'IN',
michael@0 104 406:'IN',
michael@0 105 510:'ID',
michael@0 106 432:'IR',
michael@0 107 418:'IQ',
michael@0 108 272:'IE',
michael@0 109 425:'IL',
michael@0 110 222:'IT',
michael@0 111 338:'JM',
michael@0 112 441:'JP',
michael@0 113 440:'JP',
michael@0 114 416:'JO',
michael@0 115 401:'KZ',
michael@0 116 639:'KE',
michael@0 117 545:'KI',
michael@0 118 467:'KP',
michael@0 119 450:'KR',
michael@0 120 419:'KW',
michael@0 121 437:'KG',
michael@0 122 457:'LA',
michael@0 123 247:'LV',
michael@0 124 415:'LB',
michael@0 125 651:'LS',
michael@0 126 618:'LR',
michael@0 127 606:'LY',
michael@0 128 295:'LI',
michael@0 129 246:'LT',
michael@0 130 270:'LU',
michael@0 131 455:'MO',
michael@0 132 294:'MK',
michael@0 133 646:'MG',
michael@0 134 650:'MW',
michael@0 135 502:'MY',
michael@0 136 472:'MV',
michael@0 137 610:'ML',
michael@0 138 278:'MT',
michael@0 139 551:'MH',
michael@0 140 340:'MQ',
michael@0 141 609:'MR',
michael@0 142 617:'MU',
michael@0 143 334:'MX',
michael@0 144 550:'FM',
michael@0 145 259:'MD',
michael@0 146 212:'MC',
michael@0 147 428:'MN',
michael@0 148 297:'ME',
michael@0 149 354:'MS',
michael@0 150 604:'MA',
michael@0 151 643:'MZ',
michael@0 152 414:'MM',
michael@0 153 649:'NA',
michael@0 154 536:'NR',
michael@0 155 429:'NP',
michael@0 156 204:'NL',
michael@0 157 546:'NC',
michael@0 158 530:'NZ',
michael@0 159 710:'NI',
michael@0 160 614:'NE',
michael@0 161 621:'NG',
michael@0 162 555:'NU',
michael@0 163 534:'MP',
michael@0 164 242:'NO',
michael@0 165 422:'OM',
michael@0 166 410:'PK',
michael@0 167 552:'PW',
michael@0 168 425:'PS',
michael@0 169 714:'PA',
michael@0 170 537:'PG',
michael@0 171 744:'PY',
michael@0 172 716:'PE',
michael@0 173 515:'PH',
michael@0 174 260:'PL',
michael@0 175 268:'PT',
michael@0 176 330:'PR',
michael@0 177 427:'QA',
michael@0 178 647:'RE',
michael@0 179 226:'RO',
michael@0 180 250:'RU',
michael@0 181 635:'RW',
michael@0 182 356:'KN',
michael@0 183 358:'LC',
michael@0 184 308:'PM',
michael@0 185 360:'VC',
michael@0 186 549:'WS',
michael@0 187 292:'SM',
michael@0 188 626:'ST',
michael@0 189 420:'SA',
michael@0 190 608:'SN',
michael@0 191 220:'RS',
michael@0 192 633:'SC',
michael@0 193 619:'SL',
michael@0 194 525:'SG',
michael@0 195 231:'SK',
michael@0 196 293:'SI',
michael@0 197 540:'SB',
michael@0 198 637:'SO',
michael@0 199 655:'ZA',
michael@0 200 214:'ES',
michael@0 201 413:'LK',
michael@0 202 634:'SD',
michael@0 203 746:'SR',
michael@0 204 653:'SZ',
michael@0 205 240:'SE',
michael@0 206 228:'CH',
michael@0 207 417:'SY',
michael@0 208 466:'TW',
michael@0 209 436:'TJ',
michael@0 210 640:'TZ',
michael@0 211 520:'TH',
michael@0 212 615:'TG',
michael@0 213 539:'TO',
michael@0 214 374:'TT',
michael@0 215 605:'TN',
michael@0 216 286:'TR',
michael@0 217 438:'TM',
michael@0 218 376:'TC',
michael@0 219 641:'UG',
michael@0 220 255:'UA',
michael@0 221 424:'AE',
michael@0 222 430:'AE',
michael@0 223 431:'AE',
michael@0 224 235:'GB',
michael@0 225 234:'GB',
michael@0 226 310:'US',
michael@0 227 311:'US',
michael@0 228 312:'US',
michael@0 229 313:'US',
michael@0 230 314:'US',
michael@0 231 315:'US',
michael@0 232 316:'US',
michael@0 233 332:'VI',
michael@0 234 748:'UY',
michael@0 235 434:'UZ',
michael@0 236 541:'VU',
michael@0 237 225:'VA',
michael@0 238 734:'VE',
michael@0 239 452:'VN',
michael@0 240 543:'WF',
michael@0 241 421:'YE',
michael@0 242 645:'ZM',
michael@0 243 648:'ZW'
michael@0 244 }

mercurial