Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
23 lines (23 loc) · 465 Bytes

File metadata and controls

23 lines (23 loc) · 465 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>关闭不弹窗,点击不弹窗?</title>
<script type="text/javascript">
function hello(){
alert("欢迎你的光临!");
}
function byebye() {
alert("走了就别回来了!");
}
</script>
<script type="text/javascript">
function click(){
alert("你点我干嘛");
}
</script>
</head>
<body onload="hello()" onunload="byebye()">
<h3><a href="#" onclick="click()">按我吧!</a></h3>
</body>
</html>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.