forked from philc/vimium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
has_popup_and_link_hud.html
80 lines (73 loc) · 1.94 KB
/
has_popup_and_link_hud.html
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
<!--
This page when loaded causes Chrome to show both its "link" and "popup blocked" HUDs.
(mouse over the giant link to see the link HUD)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Link and popup HUD</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<style type="text/css" media="screen">
body {
height:900px;
width:800px;
}
#biglink {
display:block;
width:400px;
height:400px;
background-color:#123456;
float:left;
}
#hud {
position:fixed;
bottom:0px;
color:black;
/* right:150px;*/
right:315px;
height:13px;
max-width:400px;
min-width:150px;
text-align:left;
background-color:#ebebeb;
font-weight:normal;
font-size:11px;
padding:3px 3px 2px 3px;
border:1px solid #b3b3b3;
font-family:"Lucida Grande", Arial, Sans;
z-index:99999999999;
text-shadow:0px 1px 2px #FFF;
line-height:1.0;
border-radius:4px 4px 0 0;
}
#hud a, #hud a:hover { color: blue; }
#hud .close-button {
font-family:"courier new";
font-weight:bold;
color:#9C9A9A;
text-decoration:none;
padding-left:10px;
font-size:14px;
}
#hud .close-button:hover {
color:#333333;
cursor:default;
-webkit-user-select:none;
}
</style>
<script>
// Trigger the popup warning.
window.open("http://www.google.com");
</script>
</head>
<body>
<h2>Loading and popup HUD</h2>
<a id="biglink" href="http://ninjawords.com/thisShouldEventuallyGetTruncatedBecauseItsAReallyLongLink,very,long,indeed">Big link</a>
<input type="text" name="some_name" value="" id="some_name"/>
<!-- <div id="hud">Pop-ups Blocked</div> -->
<div id="hud">Vimium has been updated to 1.14.
<a href="#">See the changes</a>.
<span class="close-button" href="#">x</div>
</body>
</html>