blob: c99868cc6a0cc6934f82390b1784a625f89e16f3 (
plain)
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
|
<html>
<body>
<h1>No instant support</h1>
<div id=log></div>
<script>
window.chrome.sv = false;
window.onsubmitcalls = 0;
window.onchangecalls = 0;
window.oncancelcalls = 0;
window.onresizecalls = 0;
var searchBox = window.chrome.searchBox || {};
window.chrome.searchBox.onsubmit = function() {
searchBox.setSuggestions(["abcdef"]);
window.onsubmitcalls++;
};
window.chrome.searchBox.onchange = function() {
searchBox.setSuggestions(["abcdef"]);
window.onchangecalls++;
};
window.chrome.searchBox.oncancel = function() {
searchBox.setSuggestions(["abcdef"]);
window.oncancelcalls++;
};
window.chrome.searchBox.onresize = function() {
window.onresizecalls++;
};
</script>
</body>
</html>
|