Advertisement
amloessb

Let's break Firefox!

Nov 21st, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.09 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <title>Let's break Firefox!</title>
  4.     </head>
  5.     <body>
  6.         <script type="text/javascript">
  7.             function popUp(URL,w,h) {
  8.                 window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
  9.                 return false;
  10.             }
  11.         </script>
  12.         <p>
  13.             Prerequisites to break:
  14.             <ul>
  15.                 <li><strong>NoScript 2.6.9.39</strong> (be sure scripts are allowed on this page)</li>
  16.                 <li><strong>KeeFox 1.5.3 (or 1.5.4beta1)</strong> (no need to actually have a KeePass archive open)</li>
  17.                 <li><strong>Classic Theme Restorer 1.4.3 (or 1.4.4beta2)</strong> with the address bar on a second toolbar:
  18.                     <ol>
  19.                         <li>Right-click on toolbar &gt; <em>Additional Toolbar</em></li>
  20.                         <li>Right-click on toolbar &gt; <em>Customize...</em></li>
  21.                         <li>Drag the address bar to the second toolbar</li>
  22.                     </ol>
  23.                 </li>
  24.             </ul>
  25.         </p>
  26.         <p>
  27.             <a href="#" onclick="return popUp('about:blank',350,320)">Click to break!</a>
  28.         </p>
  29.     </body>
  30. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement