1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
|
<!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
1) The <head> information in this page is significant, should be uniform
across api docs and should be edited only with knowledge of the
templating mechanism.
3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
browser, it will be re-generated from the template, json schema and
authored overview content.
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
<script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js">
</script>
<script type="text/javascript" src="../../../../third_party/json_minify/minify-sans-regexp.js">
</script>
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
<title>Samples - Google Chrome Extensions - Google Code</title></head>
<body> <div id="devModeWarning" class="displayModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
</div>
<div id="branchWarning" class="displayModeWarning">
<span>WARNING: This is the <span id="branchName">BETA</span> documentation.
It may not work with the stable release of Chrome.</span>
<select id="branchChooser">
<option>Choose a different version...
</option><option value="">Stable
</option><option value="beta">Beta
</option><option value="dev">Dev
</option><option value="trunk">Trunk
</option></select>
</div>
<div id="unofficialWarning" class="displayModeWarning">
<span>WARNING: This is unofficial documentation. It may not work with the
current release of Chrome.</span>
<button id="goToOfficialDocs">Go to the official docs</button>
</div>
<div id="gc-container" class="labs">
<!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
<!-- In particular, sub-templates that recurse, must be used by allowing
jstemplate to make a copy of the template in this section which
are not operated on by way of the jsskip="true" -->
<!-- /SUBTEMPLATES -->
<a id="top"></a>
<div id="skipto">
<a href="#gc-pagecontent">Skip to page content</a>
<a href="#gc-toc">Skip to main navigation</a>
</div>
<!-- API HEADER -->
<table id="header" width="100%" cellspacing="0" border="0">
<tbody><tr>
<td valign="middle"><a href="http://code.google.com/"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></td>
<td valign="middle" width="100%" style="padding-left:0.6em;">
<form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em">
<div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" value="" size="55">
<input class="gsc-search-button" type="submit" name="sa" value="Search">
<br>
<span class="greytext">e.g. "page action" or "tabs"</span>
</div>
</form>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
<script type="text/javascript" src="https://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script>
<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=cse&lang=en"></script>
</td>
</tr>
</tbody></table>
<div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
<h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Labs</a>)</h1>
<ul id="home" class="gc-topnav-tabs">
<li id="home_link">
<a href="index.html" title="Google Chrome Extensions home page">Home</a>
</li>
<li id="docs_link">
<a href="docs.html" title="Official Google Chrome Extensions documentation">Docs</a>
</li>
<li id="faq_link">
<a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions">FAQ</a>
</li>
<li id="samples_link">
<a href="samples.html" title="Sample extensions (with source code)">Samples</a>
</li>
<li id="group_link">
<a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a>
</li>
<li id="so_link">
<a href="http://stackoverflow.com/questions/tagged/google-chrome-extension" title="[google-chrome-extension] tag on Stack Overflow">Questions?</a>
</li>
</ul>
</div> <!-- end gc-topnav -->
<div class="g-section g-tpl-170">
<!-- SIDENAV -->
<div class="g-unit g-first" id="gc-toc">
<ul>
<li><a href="getstarted.html">Getting Started</a></li>
<li><a href="overview.html">Overview</a></li>
<li><a href="whats_new.html">What's New?</a></li>
<li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
<li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="contextMenus.html">Context Menus</a></li>
<li><a href="notifications.html">Desktop Notifications</a></li>
<li><a href="omnibox.html">Omnibox</a></li>
<li><a href="options.html">Options Pages</a></li>
<li><a href="override.html">Override Pages</a></li>
<li><a href="pageAction.html">Page Actions</a></li>
</ul>
</li>
<li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="cookies.html">Cookies</a></li>
<li><a href="devtools.html">Developer Tools</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
<li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
<li>Implementation
<ul>
<li><a href="a11y.html">Accessibility</a></li>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
<li><a href="xhr.html">Cross-Origin XHR</a></li>
<li><a href="i18n.html">Internationalization</a></li>
<li><a href="messaging.html">Message Passing</a></li>
<li><a href="permissions.html">Optional Permissions</a></li>
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
<li>Finishing
<ul>
<li><a href="hosting.html">Hosting</a></li>
<li><a href="external_extensions.html">Other Deployment Options</a></li>
</ul>
</li>
</ul>
</li>
<li><h2><a href="apps.html">Packaged Apps</a></h2></li>
<li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
<li><a href="tut_analytics.html">Google Analytics</a></li>
<li><a href="tut_oauth.html">OAuth</a></li>
</ul>
</li>
<li><h2>Reference</h2>
<ul>
<li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
</ul>
</li>
<li><a href="permission_warnings.html">Permission Warnings</a></li>
<li><a href="api_index.html">chrome.* APIs</a></li>
<li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
<li><h2><a href="samples.html">Samples</a></h2></li>
<div class="line"> </div>
<li><h2>More</h2>
<ul>
<li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li>
<li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Hosted Apps</a></li>
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
</ul>
</div>
<script>
initToggles();
</script>
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
<h1 class="page_title">Samples</h1>
</div>
<!-- TABLE OF CONTENTS -->
<!-- /TABLE OF CONTENTS -->
<!-- Standard content lead-in for experimental API pages -->
<!-- STATIC CONTENT PLACEHOLDER -->
<div id="static"><link rel="stylesheet" href="css/samples.css">
<script>var search_data = {
"0262260daf0c8f7b28feff2ef23b05e7abf9d1e0": "A BROWSER ACTION WHICH CHANGES ITS ICON WHEN CLICKED. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON",
"ea2894c41cb8e80a4433a3e6c5772dadce9be90d": "A BROWSER ACTION WITH A POPUP THAT CHANGES THE PAGE COLOR. BROWSER_ACTION TABS CHROME.TABS.EXECUTESCRIPT",
"ede3c47b7757245be42ec33fd5ca63df4b490066": "A BROWSER ACTION WITH NO ICON THAT MAKES THE PAGE RED BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.EXECUTESCRIPT",
"fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a": "ACCEPTLANGUAGE RETURNS ACCEPT LANGUAGES OF THE BROWSER BROWSER_ACTION CHROME.I18N.GETACCEPTLANGUAGES CHROME.I18N.GETMESSAGE",
"9a6e4ec46997fb92b324974afa08a3d007e2537f": "ANIMATED PAGE ACTION THIS EXTENSION ADDS AN ANIMATED BROWSER ACTION TO THE TOOLBAR. BACKGROUND_PAGE PAGE_ACTION TABS CHROME.PAGEACTION.HIDE CHROME.PAGEACTION.ONCLICKED CHROME.PAGEACTION.SETICON CHROME.PAGEACTION.SETTITLE CHROME.PAGEACTION.SHOW CHROME.TABS.GET",
"a1f7cf79dd555b04fa8d603247a040e644996293": "APP LAUNCHER BROWSER_ACTION MANAGEMENT CHROME.EXTENSION.GETURL CHROME.MANAGEMENT.GET CHROME.MANAGEMENT.GETALL CHROME.MANAGEMENT.LAUNCHAPP CHROME.TABS.CREATE",
"9747e3d6a3eab39bc7c17f11a80573c62d44c7e5": "BLANK NEW TAB PAGE CHROME_URL_OVERRIDES",
"0bf0930a32829dfb77170535ecb27adc2de3998a": "BLOCK/ALLOW REFERRER API EXAMPLE EXTENSION SAMPLE EXTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION PRIVACY CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS",
"7da105f28e200d42510aff3591dfa5aeb0b82605": "BLOCK/ALLOW THIRD-PARTY COOKIES API EXAMPLE EXTENSION SAMPLE EXTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION PRIVACY CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS",
"9004d1a1b975859d07bdff94ea0a4baa106c4fd1": "BROKEN LINKS EXTENDS THE DEVELOPER TOOLS, ADDING AN AUDIT CATEGORY THAT FINDS BROKEN LINKS ON THE INSPECTED PAGE. BACKGROUND_PAGE DEVTOOLS_PAGE EXPERIMENTAL TABS CHROME.EXPERIMENTAL.DEVTOOLS.AUDITS.ADDCATEGORY CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.EXECUTESCRIPT CHROME.TABS.SENDREQUEST",
"e7e4284e3b5484b0c1eae7f724768945ad0121e4": "BROWSINGDATA API: BASICS A TRIVIAL USAGE EXAMPLE. BROWSER_ACTION BROWSINGDATA POPUP CHROME.BROWSINGDATA.REMOVE",
"3fb3045783163c0eaaf0d0ce139f254502192a92": "CALCULATOR (PLATFORM APP) ADD NUMBERS. NOW INCLUDES SUBTRACTION!",
"7f4d3fac7ae1ad4d514a15cd0b2c48c57a58c55e": "CATBLOCK I CANT HAS CHEEZBURGER! BACKGROUND_PAGE WEBREQUEST WEBREQUESTBLOCKING CHROME.WEBREQUEST.ONBEFOREREQUEST",
"924f75a201bb0ec8d6c0b1c9c88c679ea211c93d": "CHROME QUERY EXTENDS THE DEVELOPER TOOLS, ADDING A SIDEBAR THAT DISPLAYS THE JQUERY DATA ASSOCIATED WITH THE SELECTED DOM ELEMENT. DEVTOOLS_PAGE",
"903e7277139e1e6caec123d3319cab295d8d1b3a": "CHROME SOUNDS ENJOY A MORE MAGICAL AND IMMERSIVE EXPERIENCE WHEN BROWSING THE WEB USING THE POWER OF SOUND. BACKGROUND_PAGE BOOKMARKS OPTIONS_PAGE TABS CHROME.BOOKMARKS.ONCREATED CHROME.BOOKMARKS.ONMOVED CHROME.BOOKMARKS.ONREMOVED CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.GET CHROME.TABS.ONATTACHED CHROME.TABS.ONCREATED CHROME.TABS.ONDETACHED CHROME.TABS.ONMOVED CHROME.TABS.ONREMOVED CHROME.TABS.ONUPDATED CHROME.WINDOWS.ONCREATED CHROME.WINDOWS.ONFOCUSCHANGED CHROME.WINDOWS.ONREMOVED",
"0e790e035a4a00b6f1def5ef9a7d7be1bce95ab5": "CHROMIUM BUILDBOT MONITOR DISPLAYS THE STATUS OF THE CHROMIUM BUILDBOT IN THE TOOLBAR. CLICK TO SEE MORE DETAILED STATUS IN A POPUP. BACKGROUND_PAGE BROWSER_ACTION NOTIFICATIONS OPTIONS_PAGE CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.GETURL",
"ac31228200b41a87982e386cc90d3a6eee4ad885": "CHROMIUM SEARCH ADD SUPPORT TO THE OMNIBOX TO SEARCH THE CHROMIUM SOURCE CODE. BACKGROUND_PAGE TABS CHROME.OMNIBOX.ONINPUTCANCELLED CHROME.OMNIBOX.ONINPUTCHANGED CHROME.OMNIBOX.ONINPUTENTERED CHROME.OMNIBOX.ONINPUTSTARTED CHROME.OMNIBOX.SETDEFAULTSUGGESTION CHROME.TABS.GET CHROME.TABS.UPDATE",
"7d5d6cf195bc25480256618e360aa38c6e6fba82": "CLD DISPLAYS THE LANGUAGE OF A TAB BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.DETECTLANGUAGE CHROME.TABS.GET CHROME.TABS.ONUPDATED",
"6871d09f4a96bf9d4b6cc724d00e909cee0f3902": "CONTENT SCRIPT CROSS-DOMAIN XMLHTTPREQUEST EXAMPLE DEMONSTRATES MAKING CROSS DOMAIN REQUESTS FROM A CONTENT SCRIPT BY PUTTING TWITTER TRENDS ON GOOGLE NEWS.",
"e1f97e61e28ff33131d66dd28a4ed70a77874a51": "CONTENT SETTINGS SHOWS THE CONTENT SETTINGS FOR THE CURRENT SITE. BROWSER_ACTION CONTENTSETTINGS TABS CHROME.TABS.GET",
"5d81304a17cf7ac2887484f730fbd2b01e51e166": "CONTEXT MENUS SAMPLE SHOWS SOME OF THE FEATURES OF THE CONTEXT MENUS API BACKGROUND_PAGE CONTEXTMENUS CHROME.CONTEXTMENUS.CREATE",
"4daa6becd0899a54776d9cf7f09613ed1a9f4d77": "COOKIE API TEST EXTENSION TESTING COOKIE API BACKGROUND_PAGE BROWSER_ACTION COOKIES TABS CHROME.BROWSERACTION.ONCLICKED CHROME.COOKIES.GET CHROME.COOKIES.GETALL CHROME.COOKIES.ONCHANGED CHROME.COOKIES.REMOVE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL",
"9e4fd06300ee2b3a171e1f30d1b70f8f10152c2b": "DOWNLOAD SELECTED LINKS SELECT LINKS ON A PAGE AND DOWNLOAD THEM. BROWSER_ACTION EXPERIMENTAL TABS CHROME.EXPERIMENTAL.DOWNLOADS.DOWNLOAD CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.EXECUTESCRIPT CHROME.TABS.QUERY CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT",
"028eb5364924344029bcbe1d527f132fc72b34e5": "EMAIL THIS PAGE (BY GOOGLE) THIS EXTENSION ADDS AN EMAIL BUTTON TO THE TOOLBAR WHICH ALLOWS YOU TO EMAIL THE PAGE LINK USING YOUR DEFAULT MAIL CLIENT OR GMAIL. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.CONNECT CHROME.EXTENSION.ONCONNECT CHROME.TABS.CREATE CHROME.TABS.EXECUTESCRIPT CHROME.TABS.UPDATE",
"763a08e9b06595d785568a8d392b95a2f3700258": "EVENT TRACKING WITH GOOGLE ANALYTICS A SAMPLE EXTENSION WHICH USES GOOGLE ANALYTICS TO TRACK USAGE. BROWSER_ACTION",
"4efa12eaaa442b6b7c880e7a38ceeb0cff7e8b77": "FIREPHP FOR CHROME EXTENDS THE DEVELOPER TOOLS, ADDING SUPPORT FOR PARSING FIREPHP MESSAGES FROM SERVER BACKGROUND_PAGE DEVTOOLS_PAGE TABS CHROME.DEVTOOLS.NETWORK.GETHAR CHROME.DEVTOOLS.NETWORK.ONREQUESTFINISHED CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.EXECUTESCRIPT",
"31d10fd5e61ca51eb59073b358d4ab5267cbf318": "FONT SETTINGS SAMPLE EXTENSION FOR FONT SETTINGS API BROWSER_ACTION EXPERIMENTAL POPUP CHROME.EXPERIMENTAL.FONTSETTINGS.GETDEFAULTFONTSIZE CHROME.EXPERIMENTAL.FONTSETTINGS.GETFONTLIST CHROME.EXPERIMENTAL.FONTSETTINGS.GETFONTNAME CHROME.EXPERIMENTAL.FONTSETTINGS.SETDEFAULTFONTSIZE CHROME.EXPERIMENTAL.FONTSETTINGS.SETFONTNAME",
"8b0dd31216235941bdd8eb33fda915ef5cf79a82": "GOOGLE CALENDAR CHECKER (BY GOOGLE) QUICKLY SEE THE TIME UNTIL YOUR NEXT MEETING FROM ANY OF YOUR CALENDARS. CLICK ON THE BUTTON TO BE TAKEN TO YOUR CALENDAR. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETICON CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.ONUPDATED CHROME.TABS.UPDATE",
"4e35caa9742fb82dbd628892d23a781614f6eff6": "GOOGLE DOCUMENT LIST VIEWER DEMONSTRATES HOW TO USE OAUTH TO CONNECT THE GOOGLE DOCUMENTS LIST DATA API. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.SETBADGETEXT CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE",
"bb57f7a0132cbeb36ad7e7bb0ab75c21704234ca": "GOOGLE MAIL CHECKER DISPLAYS THE NUMBER OF UNREAD MESSAGES IN YOUR GOOGLE MAIL INBOX. YOU CAN ALSO CLICK THE BUTTON TO OPEN YOUR INBOX. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETICON CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.ONUPDATED CHROME.TABS.UPDATE",
"14b9651fda4e57b2a5914ba73a779812201b750a": "HELLO WORLD THE FIRST EXTENSION THAT I MADE. BROWSER_ACTION",
"2020d72f2577f53caf8e94e3dbac0fb849ceaa4d": "IDLE - SIMPLE EXAMPLE DEMONSTRATES THE IDLE API BACKGROUND_PAGE BROWSER_ACTION IDLE CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.IDLE.ONSTATECHANGED CHROME.IDLE.QUERYSTATE",
"0ea1588bd07b20338fc21f725de1542a5fdf9726": "IGOOGLE NEW TAB PAGE CHROME_URL_OVERRIDES",
"646325c25f572a1d15edc73d057f821d847a4fbe": "IMAGEINFO GET IMAGE INFO FOR IMAGES, INCLUDING EXIF DATA BACKGROUND_PAGE CONTEXTMENUS TABS CHROME.CONTEXTMENUS.CREATE CHROME.TABS.GET CHROME.TABS.GETCURRENT CHROME.WINDOWS.CREATE CHROME.WINDOWS.UPDATE",
"8f52a8a59c6fc16cb0d1ed0680b7f005be033d58": "JAVASCRIPT PAUSE/RESUME PAUSES / RESUMES JAVASCRIPT EXECUTION BACKGROUND_PAGE BROWSER_ACTION DEBUGGER TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.BROWSERACTION.SETTITLE CHROME.DEBUGGER.ATTACH CHROME.DEBUGGER.DETACH CHROME.DEBUGGER.ONDETACH CHROME.DEBUGGER.ONEVENT CHROME.DEBUGGER.SENDCOMMAND CHROME.TABS.GET CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT",
"65b2fe595b7ac38dddd89cca50f5efd0017b0bd4": "KEYBOARD PIN CREATES A KEYBOARD SHORTCUT (C + SHIFT + P) TO TOGGLE THE PINNED STATE OF THE CURRENTLY SELECTED TAB BACKGROUND_PAGE TABS CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.GET CHROME.TABS.UPDATE",
"cc8563a6666add797264184a960c7b7c8bd3e64d": "LIVE HTTP HEADERS DISPLAYS THE LIVE LOG WITH THE HTTP REQUESTS HEADERS BACKGROUND_PAGE BROWSER_ACTION DEBUGGER TABS CHROME.BROWSERACTION.ONCLICKED CHROME.DEBUGGER.ATTACH CHROME.DEBUGGER.DETACH CHROME.DEBUGGER.ONEVENT CHROME.DEBUGGER.SENDCOMMAND CHROME.TABS.GET CHROME.WINDOWS.CREATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT",
"ec97ec20ca2f095d081e39f1565fc12af09ef067": "MAPPY FINDS ADDRESSES IN THE WEB PAGE YOURE ON AND POPS UP A MAP WINDOW. BACKGROUND_PAGE PAGE_ACTION TABS CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.ONREQUEST CHROME.PAGEACTION.HIDE CHROME.PAGEACTION.SETTITLE CHROME.PAGEACTION.SHOW CHROME.TABS.GET CHROME.TABS.ONUPDATED CHROME.TABS.SENDREQUEST",
"b2f5f8a790e16f091a7e4e0a39b2d0a6d32e3a6d": "MERGE WINDOWS MERGES ALL OF THE BROWSERS WINDOWS INTO THE CURRENT WINDOW BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.TABS.GET CHROME.TABS.MOVE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT",
"51a83d2ba3a32e3ff1bdb624d4e18ccec4c4038e": "MESSAGE TIMER TIMES HOW LONG IT TAKES TO SEND A MESSAGE TO A CONTENT SCRIPT AND BACK. BROWSER_ACTION TABS CHROME.EXTENSION.ONCONNECT CHROME.EXTENSION.ONREQUEST CHROME.TABS.CONNECT CHROME.TABS.GET CHROME.TABS.SENDREQUEST",
"4f6785ec4f937add6728615682dd37c9a42d9548": "MY BOOKMARKS A BROWSER ACTION WITH A POPUP DUMP OF ALL BOOKMARKS, INCLUDING SEARCH, ADD, EDIT AND DELETE. BOOKMARKS BROWSER_ACTION TABS CHROME.BOOKMARKS.CREATE CHROME.BOOKMARKS.GET CHROME.BOOKMARKS.GETTREE CHROME.BOOKMARKS.REMOVE CHROME.BOOKMARKS.UPDATE CHROME.TABS.CREATE",
"597015d3bcce3da693b02314afd607bec4f55291": "NEWS READER DISPLAYS THE FIRST 5 ITEMS FROM THE GOOGLE NEWS - TOP NEWS RSS FEED IN A POPUP. BROWSER_ACTION TABS CHROME.TABS.CREATE",
"6444e5c8ae112a6a433909c5e770669cd16e2e5f": "NEWS READER DISPLAYS THE FIRST 5 ITEMS FROM THE GOOGLE NEWS - TOP NEWS RSS FEED IN A POPUP. BROWSER_ACTION TABS CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE",
"3aea027164cb9b732ba4a8c51cb93708891726ef": "NEWS READER (BY GOOGLE) DISPLAYS THE LATEST STORIES FROM GOOGLE NEWS IN A POPUP. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.EXTENSION.GETURL CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE",
"f799e26ceef2367cf836f24bcb47df4398b0df58": "NOTIFICATION DEMO SHOWS OFF DESKTOP NOTIFICATIONS, WHICH ARE TOAST WINDOWS THAT POP UP ON THE DESKTOP. BACKGROUND_PAGE NOTIFICATIONS OPTIONS_PAGE TABS",
"2df34c9db20549bd52f2dec3d59d564853bdefac": "NTP PROTOTYPING EXTENSION EXTENSION TO PROTOTYPE NEW NTP DESIGNS CHROME_URL_OVERRIDES TOPSITES CHROME.TOPSITES.GET",
"e787b322bddbc6289bb31b7d7550b1bf6456a80b": "OMNIBOX EXAMPLE TO USE, TYPE OMNIX PLUS A SEARCH TERM INTO THE OMNIBOX. BACKGROUND_PAGE CHROME.OMNIBOX.ONINPUTCHANGED CHROME.OMNIBOX.ONINPUTENTERED",
"8d0a50b57c26bb498be592e871001ffed91541b4": "PAGE ACTION BY CONTENT SHOWS A PAGE ACTION FOR HTML PAGES CONTAINING THE WORD SANDWICH BACKGROUND_PAGE PAGE_ACTION CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.PAGEACTION.SHOW",
"80b86ccc6e8520660fa591caa565826f0ed1b12c": "PAGE ACTION BY URL SHOWS A PAGE ACTION FOR URLS WHICH HAVE THE LETTER G IN THEM. BACKGROUND_PAGE PAGE_ACTION TABS CHROME.PAGEACTION.SHOW CHROME.TABS.ONUPDATED",
"d74c3c18a1c1dd18b035149105a306f837c8823e": "PAGE BENCHMARKER CHROMIUM PAGE BENCHMARKER. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.CONNECT CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.EXTENSION.ONCONNECT CHROME.TABS.CREATE CHROME.TABS.EXECUTESCRIPT CHROME.TABS.GET CHROME.TABS.REMOVE CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT",
"ab4b9e00a673701b355db9eb8f9ebf2c850cd784": "PER-PLUGIN CONTENT SETTINGS CUSTOMIZE YOUR CONTENT SETTING FOR DIFFERENT PLUG-INS. CONTENTSETTINGS OPTIONS_PAGE CHROME.I18N.GETMESSAGE",
"e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd": "PRINT THIS PAGE ADDS A PRINT BUTTON TO THE BROWSER. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.TABS.UPDATE",
"beff6ecd9677dea0a7c648c5042165b48bb66f09": "PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESOURCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL TABS",
"3e8e226d87e431296bb110b4f6eb7eec2ca7a826": "PROXY EXTENSION API SAMPLE SET CHROME-SPECIFIC PROXIES; A DEMONSTRATION OF CHROMES PROXY API BACKGROUND_PAGE BROWSER_ACTION PROXY CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.I18N.GETMESSAGE CHROME.PROXY.ONPROXYERROR",
"56a8d2ac24ca7bba78fd88ad57f43fc13c784497": "SAMPLE - OAUTH CONTACTS USES OAUTH TO CONNECT TO GOOGLES CONTACTS SERVICE AND DISPLAY A LIST OF YOUR CONTACTS. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE",
"38f6e1e17756ede38b1364c7114a738ca717dcbb": "SANDWICHBAR SHOWS AN INFOBAR ON PAGES WHICH CONTAIN THE WORD SANDWICH BACKGROUND_PAGE EXPERIMENTAL CHROME.EXPERIMENTAL.INFOBARS.SHOW CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST",
"fc89b35755483af30b66cd72cefa34a43a3e8312": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL TABS CHROME.TABS.GET CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.UPDATE",
"a491a2faa1fe79cb49b2fe9ed2720f4723c14184": "SPEAK SELECTION SPEAKS THE CURRENT SELECTION OUT LOUD. <ALL_URLS> BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS TTS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.EXTENSION.GETURL CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.CREATE CHROME.TABS.EXECUTESCRIPT CHROME.TABS.SENDREQUEST CHROME.TTS.GETVOICES CHROME.TTS.SPEAK CHROME.TTS.STOP CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL",
"a942b7626644674b7a56678930d054497b244ee7": "SPEECH RECOGNIZER RECOGNIZES YOUR SPEECH AND TELLS YOU THE MOST LIKELY RESULT. BACKGROUND_PAGE BROWSER_ACTION EXPERIMENTAL CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.EXPERIMENTAL.SPEECHINPUT.ISRECORDING CHROME.EXPERIMENTAL.SPEECHINPUT.ONERROR CHROME.EXPERIMENTAL.SPEECHINPUT.ONRESULT CHROME.EXPERIMENTAL.SPEECHINPUT.START CHROME.EXPERIMENTAL.SPEECHINPUT.STOP",
"24452253a5f1a93c2e8d63e55042005f8bc33606": "STYLIZR SPRUCE UP YOUR PAGES WITH CUSTOM CSS. <ALL_URLS> BROWSER_ACTION OPTIONS_PAGE STORAGE TABS CHROME.EXTENSION.GETURL CHROME.TABS.INSERTCSS",
"230463f2d5c3d4d0ca13c230e1f00f2aae0a8a64": "TAB INSPECTOR UTILITY FOR WORKING WITH THE EXTENSION TABS API BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.MOVE CHROME.TABS.ONATTACHED CHROME.TABS.ONCREATED CHROME.TABS.ONDETACHED CHROME.TABS.ONMOVED CHROME.TABS.ONREMOVED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE CHROME.TABS.UPDATE CHROME.WINDOWS.CREATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.GETLASTFOCUSED CHROME.WINDOWS.ONCREATED CHROME.WINDOWS.ONFOCUSCHANGED CHROME.WINDOWS.ONREMOVED CHROME.WINDOWS.REMOVE CHROME.WINDOWS.UPDATE",
"04f5d2ddea95746b0200be1ea223ccb7a748a771": "TALKING ALARM CLOCK A CLOCK WITH TWO CONFIGURABLE ALARMS THAT WILL PLAY A SOUND AND SPEAK A PHRASE OF YOUR CHOICE. BACKGROUND BACKGROUND_PAGE BROWSER_ACTION TTS CHROME.BROWSERACTION.SETICON CHROME.EXTENSION.CONNECT CHROME.EXTENSION.ONCONNECT CHROME.TTS.GETVOICES CHROME.TTS.SPEAK CHROME.TTS.STOP",
"e1697cacebad05218798bf3e8a0f724517f0e8c3": "TEST SCREENSHOT EXTENSION DEMONSTRATE SCREENSHOT FUNCTIONALITY IN THE CHROME.TABS API. NOTE: ONLY WORKS FOR CODE.GOOGLE.COM BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.GETURL CHROME.EXTENSION.GETVIEWS CHROME.TABS.CAPTUREVISIBLETAB CHROME.TABS.CREATE CHROME.TABS.ONUPDATED",
"e8ac89b4015052cf11436985399129c927f972aa": "TOP CHROME EXTENSION QUESTIONS SAMPLE DEMONSTRATION OF THE OPTIONAL PERMISSIONS API. BROWSER_ACTION EXPERIMENTAL OPTIONS_PAGE CHROME.PERMISSIONS.CONTAINS CHROME.PERMISSIONS.ONADDED CHROME.PERMISSIONS.ONREMOVED CHROME.PERMISSIONS.REMOVE CHROME.PERMISSIONS.REQUEST CHROME.TABS.CREATE",
"1d192cce77438e1a90383a6a3a6b28f29961ffa4": "TTS DEBUG TOOL FOR DEVELOPERS OF CHROME TTS ENGINE EXTENSIONS TO HELP THEM TEST THEIR ENGINES ARE IMPLEMENTING THE API CORRECTLY. TTS CHROME.TTS.GETVOICES CHROME.TTS.SPEAK CHROME.TTS.STOP",
"3a1baf15462bdae4d886c2da4ff8f35f4e8ce02f": "TTS DEMO DEMO CHROMES SYNTHESIZED TEXT-TO-SPEECH CAPABILITIES. TTS CHROME.TTS.GETVOICES CHROME.TTS.ISSPEAKING CHROME.TTS.SPEAK CHROME.TTS.STOP",
"b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6": "TYPED URL HISTORY READS YOUR HISTORY, AND SHOWS THE TOP TEN PAGES YOU GO TO BY TYPING THE URL. BROWSER_ACTION HISTORY TABS CHROME.HISTORY.GETVISITS CHROME.HISTORY.SEARCH CHROME.TABS.CREATE",
"a3c674f7eb93621c590562ad3fa04de4f03f53a0": "WEBNAVIGATION TECH DEMO DEMONSTRATION OF THE WEBNAVIGATION EXTENSION API. BACKGROUND_PAGE BROWSER_ACTION EXTENSION WEBNAVIGATION CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.I18N.GETMESSAGE CHROME.WEBNAVIGATION.ONBEFORENAVIGATE CHROME.WEBNAVIGATION.ONCOMMITTED CHROME.WEBNAVIGATION.ONCOMPLETED CHROME.WEBNAVIGATION.ONCREATEDNAVIGATIONTARGET CHROME.WEBNAVIGATION.ONERROROCCURRED CHROME.WEBNAVIGATION.ONREFERENCEFRAGMENTUPDATED",
"0fa4abe6545f0316fea7cfa07c53aa48c4f3d018": "`EXTENSION.ISALLOWEDFILESCHEMEACCESS` AND `EXTENSION.ISALLOWEDINCOGNITOACCESS` EXAMPLE DEMONSTRATES THE `EXTENSION.ISALLOWEDFILESCHEMEACCESS` AND `EXTESION.ISALLOWEDINCOGNITOACCESS` APIS BROWSER_ACTION CHROME.EXTENSION.ISALLOWEDFILESCHEMEACCESS CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS"
};
</script>
<script src="js/sample_search.js"></script>
<div id="controls">
<div id="searchbox" class="controlbox">
<strong>Filter by keyword:</strong>
<input autofocus="" type="search" id="searchinput" placeholder="Type to search" onkeyup="filterSamples();">
</div>
<div id="filterbox" class="controlbox">
<strong>Filter by API:</strong>
<span>
<span>
<a href="javascript:void(0);" onclick="setFilter('chrome.bookmarks', this)">chrome.bookmarks</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.browserAction', this)">chrome.browserAction</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.browsingData', this)">chrome.browsingData</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.contentSettings', this)">chrome.contentSettings</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.contextMenus', this)">chrome.contextMenus</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.cookies', this)">chrome.cookies</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.debugger', this)">chrome.debugger</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.experimental', this)">chrome.experimental</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.extension', this)">chrome.extension</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.fileBrowserHandler', this)">chrome.fileBrowserHandler</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.history', this)">chrome.history</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.i18n', this)">chrome.i18n</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.idle', this)">chrome.idle</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.input.ime', this)">chrome.input.ime</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.management', this)">chrome.management</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.omnibox', this)">chrome.omnibox</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.pageAction', this)">chrome.pageAction</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.pageCapture', this)">chrome.pageCapture</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.permissions', this)">chrome.permissions</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.privacy', this)">chrome.privacy</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.proxy', this)">chrome.proxy</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.storage', this)">chrome.storage</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.tabs', this)">chrome.tabs</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.topSites', this)">chrome.topSites</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.tts', this)">chrome.tts</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.ttsEngine', this)">chrome.ttsEngine</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.types', this)">chrome.types</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.webNavigation', this)">chrome.webNavigation</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.webRequest', this)">chrome.webRequest</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.webstore', this)">chrome.webstore</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.windows', this)">chrome.windows</a>
</span>
</span>
</div>
</div>
<div class="sample" id="0262260daf0c8f7b28feff2ef23b05e7abf9d1e0">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#0262260daf0c8f7b28feff2ef23b05e7abf9d1e0">A browser action which changes its icon when clicked.</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/browserAction/set_icon_path/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browserAction/set_icon_path/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/browserAction/set_icon_path.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="ea2894c41cb8e80a4433a3e6c5772dadce9be90d">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#ea2894c41cb8e80a4433a3e6c5772dadce9be90d">A browser action with a popup that changes the page color.</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/browserAction/set_page_color/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browserAction/set_page_color/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browserAction/set_page_color/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/browserAction/set_page_color.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="ede3c47b7757245be42ec33fd5ca63df4b490066">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#ede3c47b7757245be42ec33fd5ca63df4b490066">A browser action with no icon that makes the page red</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/browserAction/make_page_red/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browserAction/make_page_red/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/browserAction/make_page_red.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a">AcceptLanguage</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
</span>
</p>
<p>Returns accept languages of the browser</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="i18n.html#method-getAcceptLanguages">chrome.i18n.getAcceptLanguages</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/i18n/getMessage/_locales/en_US/messages.json">_locales/en_US/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/i18n/getMessage/_locales/es/messages.json">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/i18n/getMessage/_locales/sr/messages.json">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/i18n/getMessage/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/i18n/getMessage/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/i18n/getMessage/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/i18n/getMessage.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="9a6e4ec46997fb92b324974afa08a3d007e2537f">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#9a6e4ec46997fb92b324974afa08a3d007e2537f">Animated Page Action</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>page_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>This extension adds an animated browser action to the toolbar.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="pageAction.html#method-hide">chrome.pageAction.hide</a></code>
</li><li>
<code><a href="pageAction.html#event-onClicked">chrome.pageAction.onClicked</a></code>
</li><li>
<code><a href="pageAction.html#method-setIcon">chrome.pageAction.setIcon</a></code>
</li><li>
<code><a href="pageAction.html#method-setTitle">chrome.pageAction.setTitle</a></code>
</li><li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/pageAction/set_icon/background.html">background.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/pageAction/set_icon/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/pageAction/set_icon.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="a1f7cf79dd555b04fa8d603247a040e644996293">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#a1f7cf79dd555b04fa8d603247a040e644996293">App Launcher</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>management</strong>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="management.html#method-get">chrome.management.get</a></code>
</li><li>
<code><a href="management.html#method-getAll">chrome.management.getAll</a></code>
</li><li>
<code><a href="management.html#method-launchApp">chrome.management.launchApp</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/app_launcher/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/app_launcher/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/app_launcher/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/app_launcher/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/app_launcher.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="9747e3d6a3eab39bc7c17f11a80573c62d44c7e5">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#9747e3d6a3eab39bc7c17f11a80573c62d44c7e5">Blank new tab page</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>chrome_url_overrides</strong>
</span>
</p>
<p></p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/override/blank_ntp/blank.html">blank.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/override/blank_ntp/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/override/blank_ntp.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="0bf0930a32829dfb77170535ecb27adc2de3998a">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#0bf0930a32829dfb77170535ecb27adc2de3998a">Block/allow referrer API example extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>privacy</strong>
</span>
</p>
<p>Sample extension which demonstrates how to access a preference.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/preferences/enableReferrer/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/preferences/enableReferrer/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/api/preferences/enableReferrer/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/preferences/enableReferrer/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/preferences/enableReferrer.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="7da105f28e200d42510aff3591dfa5aeb0b82605">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#7da105f28e200d42510aff3591dfa5aeb0b82605">Block/allow third-party cookies API example extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>privacy</strong>
</span>
</p>
<p>Sample extension which demonstrates how to access a preference.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/preferences/allowThirdPartyCookies/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/preferences/allowThirdPartyCookies/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/api/preferences/allowThirdPartyCookies/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/preferences/allowThirdPartyCookies/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/preferences/allowThirdPartyCookies.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="9004d1a1b975859d07bdff94ea0a4baa106c4fd1">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#9004d1a1b975859d07bdff94ea0a4baa106c4fd1">Broken Links</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>devtools_page</strong><span>, </span>
</span><span>
<strong>experimental</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Extends the Developer Tools, adding an audit category that finds broken links on the inspected page.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.devtools.audits.html#method-addCategory">chrome.experimental.devtools.audits.addCategory</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-sendRequest">chrome.tabs.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/devtools/audits/broken-links/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/audits/broken-links/content.js">content.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/audits/broken-links/devtools.html">devtools.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/audits/broken-links/devtools.js">devtools.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/audits/broken-links/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/devtools/audits/broken-links.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="e7e4284e3b5484b0c1eae7f724768945ad0121e4">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e7e4284e3b5484b0c1eae7f724768945ad0121e4">BrowsingData API: Basics</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>browsingData</strong>
<span> and</span>
</span><span>
<strong>popup</strong>
</span>
</p>
<p>A trivial usage example.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browsingData.html#method-remove">chrome.browsingData.remove</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/browsingData/basic/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browsingData/basic/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browsingData/basic/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browsingData/basic/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/browsingData/basic.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="3fb3045783163c0eaaf0d0ce139f254502192a92">
<img class="icon" src="examples/extensions/calculator/icon_128.png">
<h2 class="name">
<a href="#3fb3045783163c0eaaf0d0ce139f254502192a92">Calculator (Platform App)</a>
<span>(packaged app)</span>
</h2>
<p>Add numbers. Now includes subtraction!</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/calculator/calculator.html">calculator.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calculator/controller.js">controller.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calculator/jquery/jquery.min.js">jquery/jquery.min.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calculator/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calculator/model.js">model.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calculator/style.css">style.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calculator/view.js">view.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/calculator.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="7f4d3fac7ae1ad4d514a15cd0b2c48c57a58c55e">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#7f4d3fac7ae1ad4d514a15cd0b2c48c57a58c55e">CatBlock</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>webRequest</strong>
<span> and</span>
</span><span>
<strong>webRequestBlocking</strong>
</span>
</p>
<p>I can't has cheezburger!</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="webRequest.html#event-onBeforeRequest">chrome.webRequest.onBeforeRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/catblock/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/catblock/loldogs.js">loldogs.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/catblock/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/catblock.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="924f75a201bb0ec8d6c0b1c9c88c679ea211c93d">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#924f75a201bb0ec8d6c0b1c9c88c679ea211c93d">Chrome Query</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>devtools_page</strong>
</span>
</p>
<p>Extends the Developer Tools, adding a sidebar that displays the jQuery data associated with the selected DOM element.</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/devtools/panels/chrome-query/devtools.html">devtools.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/panels/chrome-query/devtools.js">devtools.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/panels/chrome-query/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/devtools/panels/chrome-query.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="903e7277139e1e6caec123d3319cab295d8d1b3a">
<img class="icon" src="examples/extensions/fx/icon.png">
<h2 class="name">
<a href="#903e7277139e1e6caec123d3319cab295d8d1b3a">Chrome Sounds</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>bookmarks</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Enjoy a more magical and immersive experience when browsing the web using the power of sound.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="bookmarks.html#event-onCreated">chrome.bookmarks.onCreated</a></code>
</li><li>
<code><a href="bookmarks.html#event-onMoved">chrome.bookmarks.onMoved</a></code>
</li><li>
<code><a href="bookmarks.html#event-onRemoved">chrome.bookmarks.onRemoved</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onAttached">chrome.tabs.onAttached</a></code>
</li><li>
<code><a href="tabs.html#event-onCreated">chrome.tabs.onCreated</a></code>
</li><li>
<code><a href="tabs.html#event-onDetached">chrome.tabs.onDetached</a></code>
</li><li>
<code><a href="tabs.html#event-onMoved">chrome.tabs.onMoved</a></code>
</li><li>
<code><a href="tabs.html#event-onRemoved">chrome.tabs.onRemoved</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="windows.html#event-onCreated">chrome.windows.onCreated</a></code>
</li><li>
<code><a href="windows.html#event-onFocusChanged">chrome.windows.onFocusChanged</a></code>
</li><li>
<code><a href="windows.html#event-onRemoved">chrome.windows.onRemoved</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/fx/bg.js">bg.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/fx/content.js">content.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/fx/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/fx/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/fx/options.js">options.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/fx.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="0e790e035a4a00b6f1def5ef9a7d7be1bce95ab5">
<img class="icon" src="examples/extensions/buildbot/icon.png">
<h2 class="name">
<a href="#0e790e035a4a00b6f1def5ef9a7d7be1bce95ab5">Chromium Buildbot Monitor</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>notifications</strong>
<span> and</span>
</span><span>
<strong>options_page</strong>
</span>
</p>
<p>Displays the status of the Chromium buildbot in the toolbar. Click to see more detailed status in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/buildbot/bg.js">bg.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/buildbot/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/buildbot/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/buildbot/options.js">options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/buildbot/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/buildbot/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/buildbot.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="ac31228200b41a87982e386cc90d3a6eee4ad885">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#ac31228200b41a87982e386cc90d3a6eee4ad885">Chromium Search</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Add support to the omnibox to search the Chromium source code.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="omnibox.html#event-onInputCancelled">chrome.omnibox.onInputCancelled</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputChanged">chrome.omnibox.onInputChanged</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputEntered">chrome.omnibox.onInputEntered</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputStarted">chrome.omnibox.onInputStarted</a></code>
</li><li>
<code><a href="omnibox.html#method-setDefaultSuggestion">chrome.omnibox.setDefaultSuggestion</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/chrome_search/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/chrome_search/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/chrome_search.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="7d5d6cf195bc25480256618e360aa38c6e6fba82">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#7d5d6cf195bc25480256618e360aa38c6e6fba82">CLD</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Displays the language of a tab</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="tabs.html#method-detectLanguage">chrome.tabs.detectLanguage</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/i18n/cld/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/i18n/cld/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/i18n/cld.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="6871d09f4a96bf9d4b6cc724d00e909cee0f3902">
<img class="icon" src="examples/howto/contentscript_xhr/sample-128.png">
<h2 class="name">
<a href="#6871d09f4a96bf9d4b6cc724d00e909cee0f3902">Content Script Cross-Domain XMLHttpRequest Example</a>
</h2>
<p>Demonstrates making cross domain requests from a content script by putting Twitter trends on Google News.</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/howto/contentscript_xhr/contentscript.js">contentscript.js</a></code>
</li><li>
<code><a target="_blank" href="examples/howto/contentscript_xhr/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/howto/contentscript_xhr.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="e1f97e61e28ff33131d66dd28a4ed70a77874a51">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e1f97e61e28ff33131d66dd28a4ed70a77874a51">Content settings</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>contentSettings</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Shows the content settings for the current site.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/contentSettings/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/contentSettings/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/contentSettings/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/contentSettings.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="5d81304a17cf7ac2887484f730fbd2b01e51e166">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#5d81304a17cf7ac2887484f730fbd2b01e51e166">Context Menus Sample</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong>
<span> and</span>
</span><span>
<strong>contextMenus</strong>
</span>
</p>
<p>Shows some of the features of the Context Menus API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="contextMenus.html#method-create">chrome.contextMenus.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/contextMenus/basic/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/contextMenus/basic/sample.js">sample.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/contextMenus/basic.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="4daa6becd0899a54776d9cf7f09613ed1a9f4d77">
<img class="icon" src="examples/api/cookies/cookie.png">
<h2 class="name">
<a href="#4daa6becd0899a54776d9cf7f09613ed1a9f4d77">Cookie API Test Extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>cookies</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Testing Cookie API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="cookies.html#method-get">chrome.cookies.get</a></code>
</li><li>
<code><a href="cookies.html#method-getAll">chrome.cookies.getAll</a></code>
</li><li>
<code><a href="cookies.html#event-onChanged">chrome.cookies.onChanged</a></code>
</li><li>
<code><a href="cookies.html#method-remove">chrome.cookies.remove</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/cookies/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/cookies/manager.html">manager.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/cookies/manager.js">manager.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/cookies/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/cookies.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="9e4fd06300ee2b3a171e1f30d1b70f8f10152c2b">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#9e4fd06300ee2b3a171e1f30d1b70f8f10152c2b">Download Selected Links</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>experimental</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Select links on a page and download them.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.downloads.html#method-download">chrome.experimental.downloads.download</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-query">chrome.tabs.query</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/downloads/download_links/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/downloads/download_links/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/downloads/download_links/popup.js">popup.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/downloads/download_links/send_links.js">send_links.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/downloads/download_links.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="028eb5364924344029bcbe1d527f132fc72b34e5">
<img class="icon" src="examples/extensions/email_this_page/mail_128x128.png">
<h2 class="name">
<a href="#028eb5364924344029bcbe1d527f132fc72b34e5">Email this page (by Google)</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>This extension adds an email button to the toolbar which allows you to email the page link using your default mail client or Gmail.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-connect">chrome.extension.connect</a></code>
</li><li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/email_this_page/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/email_this_page/content_script.js">content_script.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/email_this_page/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/email_this_page/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/email_this_page/options.js">options.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/email_this_page.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="763a08e9b06595d785568a8d392b95a2f3700258">
<img class="icon" src="examples/tutorials/analytics/analytics-extension-icon-128.png">
<h2 class="name">
<a href="#763a08e9b06595d785568a8d392b95a2f3700258">Event Tracking with Google Analytics</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
</span>
</p>
<p>A sample extension which uses Google Analytics to track usage.</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/tutorials/analytics/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/tutorials/analytics/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/tutorials/analytics/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/tutorials/analytics.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="4efa12eaaa442b6b7c880e7a38ceeb0cff7e8b77">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#4efa12eaaa442b6b7c880e7a38ceeb0cff7e8b77">FirePHP for Chrome</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>devtools_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Extends the Developer Tools, adding support for parsing FirePHP messages from server</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="devtools.network.html#method-getHAR">chrome.devtools.network.getHAR</a></code>
</li><li>
<code><a href="devtools.network.html#event-onRequestFinished">chrome.devtools.network.onRequestFinished</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/devtools/network/chrome-firephp/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/network/chrome-firephp/devtools.html">devtools.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/network/chrome-firephp/devtools.js">devtools.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/devtools/network/chrome-firephp/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/devtools/network/chrome-firephp.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="31d10fd5e61ca51eb59073b358d4ab5267cbf318">
<img class="icon" src="examples/api/fontSettings/fonts128.png">
<h2 class="name">
<a href="#31d10fd5e61ca51eb59073b358d4ab5267cbf318">Font Settings</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>experimental</strong>
<span> and</span>
</span><span>
<strong>popup</strong>
</span>
</p>
<p>Sample extension for Font Settings API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.fontSettings.html#method-getDefaultFontSize">chrome.experimental.fontSettings.getDefaultFontSize</a></code>
</li><li>
<code><a href="experimental.fontSettings.html#method-getFontList">chrome.experimental.fontSettings.getFontList</a></code>
</li><li>
<code><a href="experimental.fontSettings.html#method-getFontName">chrome.experimental.fontSettings.getFontName</a></code>
</li><li>
<code><a href="experimental.fontSettings.html#method-setDefaultFontSize">chrome.experimental.fontSettings.setDefaultFontSize</a></code>
</li><li>
<code><a href="experimental.fontSettings.html#method-setFontName">chrome.experimental.fontSettings.setFontName</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/fontSettings/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/fontSettings/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/fontSettings/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/fontSettings.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="8b0dd31216235941bdd8eb33fda915ef5cf79a82">
<img class="icon" src="examples/extensions/calendar/images/icon-128.gif">
<h2 class="name">
<a href="#8b0dd31216235941bdd8eb33fda915ef5cf79a82">Google Calendar Checker (by Google)</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Quickly see the time until your next meeting from any of your calendars. Click on the button to be taken to your calendar.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/ar/messages.json">_locales/ar/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/bg/messages.json">_locales/bg/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/ca/messages.json">_locales/ca/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/cs/messages.json">_locales/cs/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/da/messages.json">_locales/da/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/de/messages.json">_locales/de/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/el/messages.json">_locales/el/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/en_GB/messages.json">_locales/en_GB/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/es/messages.json">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/es_419/messages.json">_locales/es_419/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/et/messages.json">_locales/et/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/fi/messages.json">_locales/fi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/fil/messages.json">_locales/fil/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/fr/messages.json">_locales/fr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/he/messages.json">_locales/he/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/hi/messages.json">_locales/hi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/hr/messages.json">_locales/hr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/hu/messages.json">_locales/hu/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/id/messages.json">_locales/id/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/it/messages.json">_locales/it/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/ja/messages.json">_locales/ja/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/ko/messages.json">_locales/ko/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/lt/messages.json">_locales/lt/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/lv/messages.json">_locales/lv/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/nb/messages.json">_locales/nb/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/nl/messages.json">_locales/nl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/pl/messages.json">_locales/pl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/pt_BR/messages.json">_locales/pt_BR/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/pt_PT/messages.json">_locales/pt_PT/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/ro/messages.json">_locales/ro/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/ru/messages.json">_locales/ru/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/sk/messages.json">_locales/sk/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/sl/messages.json">_locales/sl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/sr/messages.json">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/sv/messages.json">_locales/sv/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/th/messages.json">_locales/th/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/tr/messages.json">_locales/tr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/uk/messages.json">_locales/uk/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/vi/messages.json">_locales/vi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/zh_CN/messages.json">_locales/zh_CN/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/_locales/zh_TW/messages.json">_locales/zh_TW/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/javascript/background.js">javascript/background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/javascript/options.js">javascript/options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/javascript/util.js">javascript/util.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/views/background.html">views/background.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/calendar/views/options.html">views/options.html</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/calendar.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="4e35caa9742fb82dbd628892d23a781614f6eff6">
<img class="icon" src="examples/extensions/gdocs/img/docs_spreadsheets-128.gif">
<h2 class="name">
<a href="#4e35caa9742fb82dbd628892d23a781614f6eff6">Google Document List Viewer</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Demonstrates how to use OAuth to connect the Google Documents List Data API.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/gdocs/background.html">background.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/chrome_ex_oauth.html">chrome_ex_oauth.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/chrome_ex_oauth.js">chrome_ex_oauth.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/chrome_ex_oauthsimple.js">chrome_ex_oauthsimple.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/js/jquery-1.4.1.min.js">js/jquery-1.4.1.min.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gdocs/popup.html">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/gdocs.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="bb57f7a0132cbeb36ad7e7bb0ab75c21704234ca">
<img class="icon" src="examples/extensions/gmail/icon_128.png">
<h2 class="name">
<a href="#bb57f7a0132cbeb36ad7e7bb0ab75c21704234ca">Google Mail Checker</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Displays the number of unread messages in your Google Mail inbox. You can also click the button to open your inbox.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/ar/messages.json">_locales/ar/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/bg/messages.json">_locales/bg/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/ca/messages.json">_locales/ca/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/cs/messages.json">_locales/cs/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/da/messages.json">_locales/da/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/de/messages.json">_locales/de/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/el/messages.json">_locales/el/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/en_GB/messages.json">_locales/en_GB/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/es/messages.json">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/es_419/messages.json">_locales/es_419/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/et/messages.json">_locales/et/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/fi/messages.json">_locales/fi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/fil/messages.json">_locales/fil/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/fr/messages.json">_locales/fr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/he/messages.json">_locales/he/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/hi/messages.json">_locales/hi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/hr/messages.json">_locales/hr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/hu/messages.json">_locales/hu/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/id/messages.json">_locales/id/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/it/messages.json">_locales/it/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/ja/messages.json">_locales/ja/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/ko/messages.json">_locales/ko/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/lt/messages.json">_locales/lt/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/lv/messages.json">_locales/lv/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/nb/messages.json">_locales/nb/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/nl/messages.json">_locales/nl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/pl/messages.json">_locales/pl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/pt_BR/messages.json">_locales/pt_BR/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/pt_PT/messages.json">_locales/pt_PT/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/ro/messages.json">_locales/ro/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/ru/messages.json">_locales/ru/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/sk/messages.json">_locales/sk/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/sl/messages.json">_locales/sl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/sr/messages.json">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/sv/messages.json">_locales/sv/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/th/messages.json">_locales/th/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/tr/messages.json">_locales/tr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/uk/messages.json">_locales/uk/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/vi/messages.json">_locales/vi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/zh_CN/messages.json">_locales/zh_CN/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/_locales/zh_TW/messages.json">_locales/zh_TW/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/background.html">background.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/gmail/options.js">options.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/gmail.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="14b9651fda4e57b2a5914ba73a779812201b750a">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#14b9651fda4e57b2a5914ba73a779812201b750a">Hello World</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
</span>
</p>
<p>The first extension that I made.</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/tutorials/getstarted/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/tutorials/getstarted/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/tutorials/getstarted/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/tutorials/getstarted.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="2020d72f2577f53caf8e94e3dbac0fb849ceaa4d">
<img class="icon" src="examples/api/idle/idle_simple/sample-128.png">
<h2 class="name">
<a href="#2020d72f2577f53caf8e94e3dbac0fb849ceaa4d">Idle - Simple Example</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>idle</strong>
</span>
</p>
<p>Demonstrates the Idle API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="idle.html#event-onStateChanged">chrome.idle.onStateChanged</a></code>
</li><li>
<code><a href="idle.html#method-queryState">chrome.idle.queryState</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/idle/idle_simple/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/idle/idle_simple/history.html">history.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/idle/idle_simple/history.js">history.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/idle/idle_simple/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/idle/idle_simple.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="0ea1588bd07b20338fc21f725de1542a5fdf9726">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#0ea1588bd07b20338fc21f725de1542a5fdf9726">iGoogle new tab page</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>chrome_url_overrides</strong>
</span>
</p>
<p></p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/override/override_igoogle/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/override/override_igoogle/redirect.html">redirect.html</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/override/override_igoogle.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="646325c25f572a1d15edc73d057f821d847a4fbe">
<img class="icon" src="examples/extensions/imageinfo/imageinfo-128.png">
<h2 class="name">
<a href="#646325c25f572a1d15edc73d057f821d847a4fbe">Imageinfo</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>contextMenus</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Get image info for images, including EXIF data</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="contextMenus.html#method-create">chrome.contextMenus.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getCurrent">chrome.tabs.getCurrent</a></code>
</li><li>
<code><a href="windows.html#method-create">chrome.windows.create</a></code>
</li><li>
<code><a href="windows.html#method-update">chrome.windows.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/imageinfo/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/imageinfo/binaryajax.js">imageinfo/binaryajax.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/imageinfo/exif.js">imageinfo/exif.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/imageinfo/imageinfo.js">imageinfo/imageinfo.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/info.css">info.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/info.html">info.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/info.js">info.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/imageinfo/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/imageinfo.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="8f52a8a59c6fc16cb0d1ed0680b7f005be033d58">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#8f52a8a59c6fc16cb0d1ed0680b7f005be033d58">JavaScript pause/resume</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>debugger</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Pauses / resumes JavaScript execution</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="debugger.html#method-attach">chrome.debugger.attach</a></code>
</li><li>
<code><a href="debugger.html#method-detach">chrome.debugger.detach</a></code>
</li><li>
<code><a href="debugger.html#event-onDetach">chrome.debugger.onDetach</a></code>
</li><li>
<code><a href="debugger.html#event-onEvent">chrome.debugger.onEvent</a></code>
</li><li>
<code><a href="debugger.html#method-sendCommand">chrome.debugger.sendCommand</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/debugger/pause-resume/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/debugger/pause-resume/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/debugger/pause-resume.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="65b2fe595b7ac38dddd89cca50f5efd0017b0bd4">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#65b2fe595b7ac38dddd89cca50f5efd0017b0bd4">Keyboard Pin</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Creates a keyboard shortcut (C + Shift + P) to toggle the pinned state of the currently selected tab</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/tabs/pin/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/pin/inject.js">inject.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/pin/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/tabs/pin.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="cc8563a6666add797264184a960c7b7c8bd3e64d">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#cc8563a6666add797264184a960c7b7c8bd3e64d">Live HTTP headers</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>debugger</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Displays the live log with the http requests headers</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="debugger.html#method-attach">chrome.debugger.attach</a></code>
</li><li>
<code><a href="debugger.html#method-detach">chrome.debugger.detach</a></code>
</li><li>
<code><a href="debugger.html#event-onEvent">chrome.debugger.onEvent</a></code>
</li><li>
<code><a href="debugger.html#method-sendCommand">chrome.debugger.sendCommand</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="windows.html#method-create">chrome.windows.create</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/debugger/live-headers/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/debugger/live-headers/headers.html">headers.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/debugger/live-headers/headers.js">headers.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/debugger/live-headers/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/debugger/live-headers.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="ec97ec20ca2f095d081e39f1565fc12af09ef067">
<img class="icon" src="examples/extensions/mappy/icon.png">
<h2 class="name">
<a href="#ec97ec20ca2f095d081e39f1565fc12af09ef067">Mappy</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>page_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Finds addresses in the web page you're on and pops up a map window.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="pageAction.html#method-hide">chrome.pageAction.hide</a></code>
</li><li>
<code><a href="pageAction.html#method-setTitle">chrome.pageAction.setTitle</a></code>
</li><li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-sendRequest">chrome.tabs.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/mappy/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/mappy/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/mappy/mappy_content_script.js">mappy_content_script.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/mappy/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/mappy/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/mappy/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/mappy.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="b2f5f8a790e16f091a7e4e0a39b2d0a6d32e3a6d">
<img class="icon" src="examples/api/windows/merge_windows/merge_windows_128.png">
<h2 class="name">
<a href="#b2f5f8a790e16f091a7e4e0a39b2d0a6d32e3a6d">Merge Windows</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Merges all of the browser's windows into the current window</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-move">chrome.tabs.move</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/windows/merge_windows/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/windows/merge_windows/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/windows/merge_windows.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="51a83d2ba3a32e3ff1bdb624d4e18ccec4c4038e">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#51a83d2ba3a32e3ff1bdb624d4e18ccec4c4038e">Message Timer</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Times how long it takes to send a message to a content script and back.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="tabs.html#method-connect">chrome.tabs.connect</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-sendRequest">chrome.tabs.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/messaging/timer/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/messaging/timer/page.js">page.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/messaging/timer/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/messaging/timer/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/messaging/timer.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="4f6785ec4f937add6728615682dd37c9a42d9548">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#4f6785ec4f937add6728615682dd37c9a42d9548">My Bookmarks</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>bookmarks</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>A browser action with a popup dump of all bookmarks, including search, add, edit and delete.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="bookmarks.html#method-create">chrome.bookmarks.create</a></code>
</li><li>
<code><a href="bookmarks.html#method-get">chrome.bookmarks.get</a></code>
</li><li>
<code><a href="bookmarks.html#method-getTree">chrome.bookmarks.getTree</a></code>
</li><li>
<code><a href="bookmarks.html#method-remove">chrome.bookmarks.remove</a></code>
</li><li>
<code><a href="bookmarks.html#method-update">chrome.bookmarks.update</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/bookmarks/basic/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/bookmarks/basic/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/bookmarks/basic/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/bookmarks/basic.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="597015d3bcce3da693b02314afd607bec4f55291">
<img class="icon" src="examples/extensions/news_a11y/news_icon.png">
<h2 class="name">
<a href="#597015d3bcce3da693b02314afd607bec4f55291">News Reader</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Displays the first 5 items from the 'Google News - top news' RSS feed in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/news_a11y/feed.css">feed.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_a11y/feed.html">feed.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_a11y/feed.js">feed.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_a11y/feed_iframe.css">feed_iframe.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_a11y/feed_iframe.js">feed_iframe.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_a11y/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/news_a11y.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="6444e5c8ae112a6a433909c5e770669cd16e2e5f">
<img class="icon" src="examples/extensions/news_i18n/news_icon.png">
<h2 class="name">
<a href="#6444e5c8ae112a6a433909c5e770669cd16e2e5f">News Reader</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Displays the first 5 items from the 'Google News - top news' RSS feed in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/news_i18n/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_i18n/_locales/es/messages.json">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_i18n/_locales/sr/messages.json">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_i18n/feed.html">feed.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news_i18n/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/news_i18n.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="3aea027164cb9b732ba4a8c51cb93708891726ef">
<img class="icon" src="examples/extensions/news/images/news_icon.png">
<h2 class="name">
<a href="#3aea027164cb9b732ba4a8c51cb93708891726ef">News Reader (by Google)</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Displays the latest stories from Google News in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/news/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/css/feed.css">css/feed.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/css/options.css">css/options.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/javascript/feed.js">javascript/feed.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/javascript/options.js">javascript/options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/javascript/util.js">javascript/util.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/views/background.html">views/background.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/views/feed.html">views/feed.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/news/views/options.html">views/options.html</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/news.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="f799e26ceef2367cf836f24bcb47df4398b0df58">
<img class="icon" src="examples/api/notifications/128.png">
<h2 class="name">
<a href="#f799e26ceef2367cf836f24bcb47df4398b0df58">Notification Demo</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>notifications</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Shows off desktop notifications, which are "toast" windows that pop up on the desktop.</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/notifications/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/notifications/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/notifications/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/notifications/options.js">options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/notifications/style.css">style.css</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/notifications.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="2df34c9db20549bd52f2dec3d59d564853bdefac">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#2df34c9db20549bd52f2dec3d59d564853bdefac">NTP prototyping extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>chrome_url_overrides</strong>
<span> and</span>
</span><span>
<strong>topSites</strong>
</span>
</p>
<p>extension to prototype new NTP designs</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="topSites.html#method-get">chrome.topSites.get</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/topsites/magic8ball/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/topsites/magic8ball/newTab.css">newTab.css</a></code>
</li><li>
<code><a target="_blank" href="examples/api/topsites/magic8ball/newTab.html">newTab.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/topsites/magic8ball/newTab.js">newTab.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/topsites/magic8ball.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="e787b322bddbc6289bb31b7d7550b1bf6456a80b">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e787b322bddbc6289bb31b7d7550b1bf6456a80b">Omnibox Example</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong>
</span>
</p>
<p>To use, type 'omnix' plus a search term into the Omnibox.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="omnibox.html#event-onInputChanged">chrome.omnibox.onInputChanged</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputEntered">chrome.omnibox.onInputEntered</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/omnibox/simple-example/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/omnibox/simple-example/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/omnibox/simple-example.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="8d0a50b57c26bb498be592e871001ffed91541b4">
<img class="icon" src="examples/api/pageAction/pageaction_by_content/sandwich-128.png">
<h2 class="name">
<a href="#8d0a50b57c26bb498be592e871001ffed91541b4">Page action by content</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong>
<span> and</span>
</span><span>
<strong>page_action</strong>
</span>
</p>
<p>Shows a page action for HTML pages containing the word 'sandwich'</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/pageAction/pageaction_by_content/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/pageAction/pageaction_by_content/contentscript.js">contentscript.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/pageAction/pageaction_by_content/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/pageAction/pageaction_by_content.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="80b86ccc6e8520660fa591caa565826f0ed1b12c">
<img class="icon" src="examples/api/pageAction/pageaction_by_url/icon-128.png">
<h2 class="name">
<a href="#80b86ccc6e8520660fa591caa565826f0ed1b12c">Page action by URL</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>page_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Shows a page action for urls which have the letter 'g' in them.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/pageAction/pageaction_by_url/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/pageAction/pageaction_by_url/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/pageAction/pageaction_by_url.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="d74c3c18a1c1dd18b035149105a306f837c8823e">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#d74c3c18a1c1dd18b035149105a306f837c8823e">Page Benchmarker</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Chromium Page Benchmarker.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-connect">chrome.extension.connect</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/benchmark/background.html">background.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery-1.4.2.min.js">jquery/jquery-1.4.2.min.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery-ui-1.8.4.custom.min.js">jquery/jquery-ui-1.8.4.custom.min.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery.client.js">jquery/jquery.client.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery.flot.dashes.js">jquery/jquery.flot.dashes.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery.flot.js">jquery/jquery.flot.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery.flot.min.js">jquery/jquery.flot.min.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery.flot.navigate.js">jquery/jquery.flot.navigate.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jquery/jquery.flot.valuelabels.js">jquery/jquery.flot.valuelabels.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jst/jsevalcontext.js">jst/jsevalcontext.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jst/jstemplate.js">jst/jstemplate.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jst/jstemplate_test.js">jst/jstemplate_test.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/jst/util.js">jst/util.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/script.js">script.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/util/sorttable.js">util/sorttable.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/benchmark/util/table2CSV.js">util/table2CSV.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/benchmark.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="ab4b9e00a673701b355db9eb8f9ebf2c850cd784">
<img class="icon" src="examples/extensions/plugin_settings/bunny128.png">
<h2 class="name">
<a href="#ab4b9e00a673701b355db9eb8f9ebf2c850cd784">Per-plugin content settings</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>contentSettings</strong>
<span> and</span>
</span><span>
<strong>options_page</strong>
</span>
</p>
<p>Customize your content setting for different plug-ins.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/plugin_settings/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/css/plugin_list.css">css/plugin_list.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/css/rule_list.css">css/rule_list.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/css/button.css">domui/css/button.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/css/chrome_shared.css">domui/css/chrome_shared.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/css/list.css">domui/css/list.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/css/select.css">domui/css/select.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr.js">domui/js/cr.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/event_target.js">domui/js/cr/event_target.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui.js">domui/js/cr/ui.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui/array_data_model.js">domui/js/cr/ui/array_data_model.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui/list.js">domui/js/cr/ui/list.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui/list_item.js">domui/js/cr/ui/list_item.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui/list_selection_controller.js">domui/js/cr/ui/list_selection_controller.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui/list_selection_model.js">domui/js/cr/ui/list_selection_model.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/cr/ui/list_single_selection_model.js">domui/js/cr/ui/list_single_selection_model.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/domui/js/util.js">domui/js/util.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/chrome_stubs.js">js/chrome_stubs.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/main.js">js/main.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/plugin_list.js">js/plugin_list.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/plugin_list_test.html">js/plugin_list_test.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/plugin_settings.js">js/plugin_settings.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/plugin_settings_test.html">js/plugin_settings_test.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/rule_list.js">js/rule_list.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/js/rule_list_test.html">js/rule_list_test.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/options/css/list.css">options/css/list.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/options/js/deletable_item_list.js">options/js/deletable_item_list.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/plugin_settings/options/js/inline_editable_list.js">options/js/inline_editable_list.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/plugin_settings.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd">Print this page</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Adds a print button to the browser.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/browserAction/print/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/browserAction/print/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/browserAction/print.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="beff6ecd9677dea0a7c648c5042165b48bb66f09">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#beff6ecd9677dea0a7c648c5042165b48bb66f09">Process Monitor</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>experimental</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Adds a browser action that monitors resource usage of all browser processes.</p>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/processes/process_monitor/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/processes/process_monitor/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/processes/process_monitor/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/processes/process_monitor.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="3e8e226d87e431296bb110b4f6eb7eec2ca7a826">
<img class="icon" src="examples/extensions/proxy_configuration/icon128.png">
<h2 class="name">
<a href="#3e8e226d87e431296bb110b4f6eb7eec2ca7a826">Proxy Extension API Sample</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>proxy</strong>
</span>
</p>
<p>Set Chrome-specific proxies; a demonstration of Chrome's Proxy API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="proxy.html#event-onProxyError">chrome.proxy.onProxyError</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/popup.js">popup.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/proxy_error_handler.js">proxy_error_handler.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/proxy_form_controller.js">proxy_form_controller.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/test/jsunittest.js">test/jsunittest.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/test/proxy_form_controller_test.html">test/proxy_form_controller_test.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/test/proxy_form_controller_test.js">test/proxy_form_controller_test.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/proxy_configuration/test/unittest.css">test/unittest.css</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/proxy_configuration.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="56a8d2ac24ca7bba78fd88ad57f43fc13c784497">
<img class="icon" src="examples/extensions/oauth_contacts/img/icon-128.png">
<h2 class="name">
<a href="#56a8d2ac24ca7bba78fd88ad57f43fc13c784497">Sample - OAuth Contacts</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Uses OAuth to connect to Google's contacts service and display a list of your contacts.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/chrome_ex_oauth.html">chrome_ex_oauth.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/chrome_ex_oauth.js">chrome_ex_oauth.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/chrome_ex_oauthsimple.js">chrome_ex_oauthsimple.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/contacts.html">contacts.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/contacts.js">contacts.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/oauth_contacts/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/oauth_contacts.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="38f6e1e17756ede38b1364c7114a738ca717dcbb">
<img class="icon" src="examples/api/infobars/sandwichbar/sandwich-128.png">
<h2 class="name">
<a href="#38f6e1e17756ede38b1364c7114a738ca717dcbb">SandwichBar</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong>
<span> and</span>
</span><span>
<strong>experimental</strong>
</span>
</p>
<p>Shows an infobar on pages which contain the word 'sandwich'</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.infobars.html#method-show">chrome.experimental.infobars.show</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/infobars/sandwichbar/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/infobars/sandwichbar/contentscript.js">contentscript.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/infobars/sandwichbar/infobar.html">infobar.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/infobars/sandwichbar/infobar.js">infobar.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/infobars/sandwichbar/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/infobars/sandwichbar.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="fc89b35755483af30b66cd72cefa34a43a3e8312">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#fc89b35755483af30b66cd72cefa34a43a3e8312">Show Tabs in Process</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>experimental</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Adds a browser action showing which tabs share the current tab's process.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li><li>
<code><a href="windows.html#method-update">chrome.windows.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/processes/show_tabs/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/processes/show_tabs/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/api/processes/show_tabs/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/processes/show_tabs/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/processes/show_tabs.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="a491a2faa1fe79cb49b2fe9ed2720f4723c14184">
<img class="icon" src="examples/extensions/speak_selection/SpeakSel128.png">
<h2 class="name">
<a href="#a491a2faa1fe79cb49b2fe9ed2720f4723c14184">Speak Selection</a>
</h2>
<p class="metadata features">Uses
<span>
<strong><all_urls></strong><span>, </span>
</span><span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong><span>, </span>
</span><span>
<strong>tabs</strong>
<span> and</span>
</span><span>
<strong>tts</strong>
</span>
</p>
<p>Speaks the current selection out loud.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-sendRequest">chrome.tabs.sendRequest</a></code>
</li><li>
<code><a href="tts.html#method-getVoices">chrome.tts.getVoices</a></code>
</li><li>
<code><a href="tts.html#method-speak">chrome.tts.speak</a></code>
</li><li>
<code><a href="tts.html#method-stop">chrome.tts.stop</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/speak_selection/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/speak_selection/content_script.js">content_script.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/speak_selection/keycodes.js">keycodes.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/speak_selection/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/speak_selection/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/speak_selection/options.js">options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/speak_selection/tabs.js">tabs.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/speak_selection.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="a942b7626644674b7a56678930d054497b244ee7">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#a942b7626644674b7a56678930d054497b244ee7">Speech Recognizer</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>experimental</strong>
</span>
</p>
<p>Recognizes your speech and tells you the most likely result.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="experimental.speechInput.html#method-isRecording">chrome.experimental.speechInput.isRecording</a></code>
</li><li>
<code><a href="experimental.speechInput.html#event-onError">chrome.experimental.speechInput.onError</a></code>
</li><li>
<code><a href="experimental.speechInput.html#event-onResult">chrome.experimental.speechInput.onResult</a></code>
</li><li>
<code><a href="experimental.speechInput.html#method-start">chrome.experimental.speechInput.start</a></code>
</li><li>
<code><a href="experimental.speechInput.html#method-stop">chrome.experimental.speechInput.stop</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/speechInput/basic/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/speechInput/basic/manifest.json">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/speechInput/basic.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="24452253a5f1a93c2e8d63e55042005f8bc33606">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#24452253a5f1a93c2e8d63e55042005f8bc33606">Stylizr</a>
</h2>
<p class="metadata features">Uses
<span>
<strong><all_urls></strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>options_page</strong><span>, </span>
</span><span>
<strong>storage</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Spruce up your pages with custom CSS.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-insertCSS">chrome.tabs.insertCSS</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/storage/stylizr/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/storage/stylizr/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/storage/stylizr/options.js">options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/storage/stylizr/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/storage/stylizr/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/storage/stylizr.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="230463f2d5c3d4d0ca13c230e1f00f2aae0a8a64">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#230463f2d5c3d4d0ca13c230e1f00f2aae0a8a64">Tab Inspector</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Utility for working with the extension tabs api</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-move">chrome.tabs.move</a></code>
</li><li>
<code><a href="tabs.html#event-onAttached">chrome.tabs.onAttached</a></code>
</li><li>
<code><a href="tabs.html#event-onCreated">chrome.tabs.onCreated</a></code>
</li><li>
<code><a href="tabs.html#event-onDetached">chrome.tabs.onDetached</a></code>
</li><li>
<code><a href="tabs.html#event-onMoved">chrome.tabs.onMoved</a></code>
</li><li>
<code><a href="tabs.html#event-onRemoved">chrome.tabs.onRemoved</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-create">chrome.windows.create</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li><li>
<code><a href="windows.html#method-getLastFocused">chrome.windows.getLastFocused</a></code>
</li><li>
<code><a href="windows.html#event-onCreated">chrome.windows.onCreated</a></code>
</li><li>
<code><a href="windows.html#event-onFocusChanged">chrome.windows.onFocusChanged</a></code>
</li><li>
<code><a href="windows.html#event-onRemoved">chrome.windows.onRemoved</a></code>
</li><li>
<code><a href="windows.html#method-remove">chrome.windows.remove</a></code>
</li><li>
<code><a href="windows.html#method-update">chrome.windows.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/tabs/inspector/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/inspector/jstemplate_compiled.js">jstemplate_compiled.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/inspector/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/inspector/tabs_api.html">tabs_api.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/inspector/tabs_api.js">tabs_api.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/tabs/inspector.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="04f5d2ddea95746b0200be1ea223ccb7a748a771">
<img class="icon" src="examples/extensions/talking_alarm_clock/clock-128.png">
<h2 class="name">
<a href="#04f5d2ddea95746b0200be1ea223ccb7a748a771">Talking Alarm Clock</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background</strong><span>, </span>
</span><span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tts</strong>
</span>
</p>
<p>A clock with two configurable alarms that will play a sound and speak a phrase of your choice.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="extension.html#method-connect">chrome.extension.connect</a></code>
</li><li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="tts.html#method-getVoices">chrome.tts.getVoices</a></code>
</li><li>
<code><a href="tts.html#method-speak">chrome.tts.speak</a></code>
</li><li>
<code><a href="tts.html#method-stop">chrome.tts.stop</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/talking_alarm_clock/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/talking_alarm_clock/common.js">common.js</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/talking_alarm_clock/credits.html">credits.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/talking_alarm_clock/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/talking_alarm_clock/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/talking_alarm_clock/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/talking_alarm_clock.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="e1697cacebad05218798bf3e8a0f724517f0e8c3">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e1697cacebad05218798bf3e8a0f724517f0e8c3">Test Screenshot Extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Demonstrate screenshot functionality in the chrome.tabs api. Note: only works for code.google.com</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="extension.html#method-getViews">chrome.extension.getViews</a></code>
</li><li>
<code><a href="tabs.html#method-captureVisibleTab">chrome.tabs.captureVisibleTab</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/tabs/screenshot/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/screenshot/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/screenshot/screenshot.html">screenshot.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/tabs/screenshot/screenshot.js">screenshot.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/tabs/screenshot.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="e8ac89b4015052cf11436985399129c927f972aa">
<img class="icon" src="examples/api/permissions/extension-questions/images/icon.png">
<h2 class="name">
<a href="#e8ac89b4015052cf11436985399129c927f972aa">Top Chrome Extension Questions</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>experimental</strong>
<span> and</span>
</span><span>
<strong>options_page</strong>
</span>
</p>
<p>Sample demonstration of the optional permissions API.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="permissions.html#method-contains">chrome.permissions.contains</a></code>
</li><li>
<code><a href="permissions.html#event-onAdded">chrome.permissions.onAdded</a></code>
</li><li>
<code><a href="permissions.html#event-onRemoved">chrome.permissions.onRemoved</a></code>
</li><li>
<code><a href="permissions.html#method-remove">chrome.permissions.remove</a></code>
</li><li>
<code><a href="permissions.html#method-request">chrome.permissions.request</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/permissions/extension-questions/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/permissions/extension-questions/options.html">options.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/permissions/extension-questions/options.js">options.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/permissions/extension-questions/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/permissions/extension-questions/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/permissions/extension-questions.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
<span>
- <a href="examples/api/permissions/extension-questions.crx">Install extension</a>
</span>
</div>
</div><div class="sample" id="1d192cce77438e1a90383a6a3a6b28f29961ffa4">
<img class="icon" src="examples/extensions/ttsdebug/128.png">
<h2 class="name">
<a href="#1d192cce77438e1a90383a6a3a6b28f29961ffa4">TTS Debug</a>
<span>(packaged app)</span>
</h2>
<p class="metadata features">Uses
<span>
<strong>tts</strong>
</span>
</p>
<p>Tool for developers of Chrome TTS engine extensions to help them test their engines are implementing the API correctly.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tts.html#method-getVoices">chrome.tts.getVoices</a></code>
</li><li>
<code><a href="tts.html#method-speak">chrome.tts.speak</a></code>
</li><li>
<code><a href="tts.html#method-stop">chrome.tts.stop</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/ttsdebug/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/ttsdebug/ttsdebug.css">ttsdebug.css</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/ttsdebug/ttsdebug.html">ttsdebug.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/ttsdebug/ttsdebug.js">ttsdebug.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/ttsdebug.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="3a1baf15462bdae4d886c2da4ff8f35f4e8ce02f">
<img class="icon" src="examples/extensions/ttsdemo/128.png">
<h2 class="name">
<a href="#3a1baf15462bdae4d886c2da4ff8f35f4e8ce02f">TTS Demo</a>
<span>(packaged app)</span>
</h2>
<p class="metadata features">Uses
<span>
<strong>tts</strong>
</span>
</p>
<p>Demo Chrome's synthesized text-to-speech capabilities.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tts.html#method-getVoices">chrome.tts.getVoices</a></code>
</li><li>
<code><a href="tts.html#method-isSpeaking">chrome.tts.isSpeaking</a></code>
</li><li>
<code><a href="tts.html#method-speak">chrome.tts.speak</a></code>
</li><li>
<code><a href="tts.html#method-stop">chrome.tts.stop</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/extensions/ttsdemo/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/ttsdemo/ttsdemo.html">ttsdemo.html</a></code>
</li><li>
<code><a target="_blank" href="examples/extensions/ttsdemo/ttsdemo.js">ttsdemo.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/extensions/ttsdemo.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6">Typed URL History</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>history</strong>
<span> and</span>
</span><span>
<strong>tabs</strong>
</span>
</p>
<p>Reads your history, and shows the top ten pages you go to by typing the URL.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="history.html#method-getVisits">chrome.history.getVisits</a></code>
</li><li>
<code><a href="history.html#method-search">chrome.history.search</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/history/showHistory/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/history/showHistory/typedUrls.html">typedUrls.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/history/showHistory/typedUrls.js">typedUrls.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/history/showHistory.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="a3c674f7eb93621c590562ad3fa04de4f03f53a0">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#a3c674f7eb93621c590562ad3fa04de4f03f53a0">WebNavigation Tech Demo</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
</span><span>
<strong>browser_action</strong><span>, </span>
</span><span>
<strong>extension</strong>
<span> and</span>
</span><span>
<strong>webNavigation</strong>
</span>
</p>
<p>Demonstration of the WebNavigation extension API.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="webNavigation.html#event-onBeforeNavigate">chrome.webNavigation.onBeforeNavigate</a></code>
</li><li>
<code><a href="webNavigation.html#event-onCommitted">chrome.webNavigation.onCommitted</a></code>
</li><li>
<code><a href="webNavigation.html#event-onCompleted">chrome.webNavigation.onCompleted</a></code>
</li><li>
<code><a href="webNavigation.html#event-onCreatedNavigationTarget">chrome.webNavigation.onCreatedNavigationTarget</a></code>
</li><li>
<code><a href="webNavigation.html#event-onErrorOccurred">chrome.webNavigation.onErrorOccurred</a></code>
</li><li>
<code><a href="webNavigation.html#event-onReferenceFragmentUpdated">chrome.webNavigation.onReferenceFragmentUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/webNavigation/basic/_locales/en/messages.json">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/webNavigation/basic/background.js">background.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/webNavigation/basic/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/webNavigation/basic/navigation_collector.js">navigation_collector.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/webNavigation/basic/popup.css">popup.css</a></code>
</li><li>
<code><a target="_blank" href="examples/api/webNavigation/basic/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/webNavigation/basic/popup.js">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/webNavigation/basic.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div><div class="sample" id="0fa4abe6545f0316fea7cfa07c53aa48c4f3d018">
<img class="icon" src="examples/api/extension/isAllowedAccess/sample-128.png">
<h2 class="name">
<a href="#0fa4abe6545f0316fea7cfa07c53aa48c4f3d018">`extension.isAllowedFileSchemeAccess` and `extension.isAllowedIncognitoAccess` Example</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong>
</span>
</p>
<p>Demonstrates the `extension.isAllowedFileSchemeAccess` and `extesion.isAllowedIncognitoAccess` APIs</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-isAllowedFileSchemeAccess">chrome.extension.isAllowedFileSchemeAccess</a></code>
</li><li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="examples/api/extension/isAllowedAccess/manifest.json">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="examples/api/extension/isAllowedAccess/popup.html">popup.html</a></code>
</li><li>
<code><a target="_blank" href="examples/api/extension/isAllowedAccess/popup.js">popup.js</a></code>
</li><li>
<code><a target="_blank" href="examples/api/extension/isAllowedAccess/sample.css">sample.css</a></code>
</li>
</ul>
</div>
<div>
<a href="examples/api/extension/isAllowedAccess.zip">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
</div>
</div>
</div>
<!-- API PAGE -->
<!-- /apiPage -->
</div> <!-- /gc-pagecontent -->
</div> <!-- /g-section -->
</div> <!-- /codesiteContent -->
<div id="gc-footer" --="">
<div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
Attribution 3.0 License</a>, and code samples are licensed under the
<a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>.
</p>
<p>
©2011 Google
</p>
<!-- begin analytics -->
<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script src="https://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
// chrome doc tracking
try {
var engdocs = _gat._getTracker("YT-10763712-2");
engdocs._trackPageview();
} catch(err) {}
// code.google.com site-wide tracking
try {
_uacct="UA-18071-1";
_uanchor=1;
_uff=0;
urchinTracker();
}
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
</div>
</div> <!-- /gc-footer -->
</div> <!-- /gc-container -->
</body></html>
|