Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | </head> |
michael@0 | 4 | <body> |
michael@0 | 5 | <script> |
michael@0 | 6 | var t = 0; |
michael@0 | 7 | function doe() { |
michael@0 | 8 | setTimeout(function() { |
michael@0 | 9 | if (t == 1) { |
michael@0 | 10 | window.close(); |
michael@0 | 11 | window.opener.done(); |
michael@0 | 12 | } |
michael@0 | 13 | else { |
michael@0 | 14 | window.frames[0].location.reload(); |
michael@0 | 15 | t++; |
michael@0 | 16 | } |
michael@0 | 17 | }, 300); |
michael@0 | 18 | } |
michael@0 | 19 | </script> |
michael@0 | 20 | |
michael@0 | 21 | <iframe src="data:application/xhtml+xml;charset=utf-8,%3Chtml%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%0A%3Ciframe%2F%3E%0A%3Cframeset%20onblur%3D%22window.frameElement.parentNode.removeChild(window.frameElement)%22%20id%3D%22frame%22%2F%3E%0A%0A%3Cscript%3E%0Afunction%20doe(i)%7B%0Adocument.getElementById('frame').focus()%3B%0Adocument.getElementsByTagName('*')%5B1%5D.focus()%3B%0A%7D%0Atop.opener.SimpleTest.waitForFocus(function%20()%20setTimeout(doe%2C%20100)%2C%20top)%3B%0A%3C%2Fscript%3E%0A%3C%2Fhtml%3E" onload="doe()" id="content"></iframe> |
michael@0 | 22 | </body> |
michael@0 | 23 | </html> |
michael@0 | 24 |