Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <title>iframe mouse up</title>
- <style type="text/css">
- body {
- font-family: san-serif;
- }
- iframe, #text {
- margin: 20px;
- border: 1px solid silver;
- box-shadow: 0px 0px 2px 2px silver;
- padding: 5px;
- }
- </style>
- <script type="text/javascript">
- function onMouseUp (e) {
- e = e || window.e;
- console.log(window.location.href);
- }
- </script>
- </head>
- <body onmouseup="onMouseUp.apply(this, arguments)">
- <div id="text">
- In May 1939 Fleming was recruited by Rear Admiral John Godfrey, Director of Naval Intelligence of the Royal Navy, to become his personal assistant. He joined the organisation full time in August 1939,[22] with the codename "17F",[23] and worked out of Room 39 at The Admiralty.[24]Fleming's biographer, Andrew Lycett, notes that Fleming had "no obvious qualifications" for the role.[1] As part of his appointment, Fleming was commissioned into the Royal Naval Volunteer Reserve in July 1939,[22] initially as lieutenant,[24] but promoted to commander a few months later.[25]
- </div>
- <script>
- if (window.parent == window) document.write('<iframe src="?tfr" height="300" width="500"></iframe>');
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment