OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 window.onload = function() { | 4 window.onload = function() { |
5 var selection = window.getSelection(); | 5 var selection = window.getSelection(); |
6 if (selection.setBaseAndExtent) | 6 if (selection.setBaseAndExtent) |
7 selection.setBaseAndExtent(document.body, 0, document.body, 10); | 7 selection.setBaseAndExtent(document.body, 0, document.body, 1); |
8 else if (selection.selectAllChildren) | 8 else if (selection.selectAllChildren) |
9 selection.selectAllChildren(document.body); | 9 selection.selectAllChildren(document.body); |
10 } | 10 } |
11 </script> | 11 </script> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 FOREIGN DOMAIN | 14 FOREIGN DOMAIN |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |