Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Alerts and Greasemonky</title>
<script type="text/javascript">
  alert ("You will always see this alert.");
  
  SneakyAlert = (function () {alert("Can't catch me!");} );
  
  function init ()
  {
    alert ("Running Greasemonkey, you will not see this alert.");
    SneakyAlert ();
  }
</script>
</head>
<body  onLoad="init()">
  <p id="hello">Did you see the second alert()?<br>
    My super Greasemonkey script kills it.
  </p>
  <img height="192" width="256" src="http://crazy-frankenstein.com/free-wallpapers-files/dog-wallpaper-files/cute-puppy-dog-wallpapers.jpg" alt="Large image to slow load">
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers