mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
556 B
HTML
23 lines
556 B
HTML
|
<!DOCTYPE html>
|
||
|
<script>
|
||
|
|
||
|
try {
|
||
|
var docType = document.implementation.createDocumentType(undefined, '', '');
|
||
|
var doc = document.implementation.createDocument('', '', null);
|
||
|
var xp = new XSLTProcessor;
|
||
|
xp.importStylesheet(doc);
|
||
|
xp.transformToDocument(docType);
|
||
|
}
|
||
|
catch (ex) {}
|
||
|
|
||
|
try {
|
||
|
docType = document.implementation.createDocumentType(undefined, '', '');
|
||
|
doc = document.implementation.createDocument('', '', null);
|
||
|
xp = new XSLTProcessor;
|
||
|
xp.importStylesheet(doc);
|
||
|
xp.transformToFragment(docType, document);
|
||
|
}
|
||
|
catch (ex) {}
|
||
|
|
||
|
</script>
|