mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 12:05:22 +00:00
35 lines
588 B
HTML
35 lines
588 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
function extractc(j) {
|
|
var sel = window.getSelection();
|
|
|
|
|
|
var b=document.getElementById('b');
|
|
|
|
var range =document.createRange();
|
|
range.setStart(document.documentElement, 0);
|
|
range.setEnd(document.documentElement, 0);
|
|
sel.addRange(range);
|
|
range.extractContents();
|
|
|
|
range.setStart(b, 0);
|
|
range.setEnd(b, 0);
|
|
sel.addRange(range);
|
|
range.extractContents();
|
|
|
|
|
|
range.setStart(b, 0);
|
|
range.setEnd(b, 0);
|
|
sel.addRange(range);
|
|
range.extractContents();
|
|
|
|
|
|
}
|
|
setTimeout(extractc,200,0);
|
|
</script>
|
|
<title id="b"></title>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html> |