|
|
@ -2,9 +2,9 @@
|
|
|
|
var lastEnv = [];
|
|
|
|
var lastEnv = [];
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if ( document && document.documentElement && document.contentType === 'text/html' ) {
|
|
|
|
if ( document && document.contentType === 'text/html' ) {
|
|
|
|
var
|
|
|
|
var
|
|
|
|
html = document.documentElement.outerHTML
|
|
|
|
html = new XMLSerializer().serializeToString(document)
|
|
|
|
env = [];
|
|
|
|
env = [];
|
|
|
|
|
|
|
|
|
|
|
|
self.port.emit('log', 'init');
|
|
|
|
self.port.emit('log', 'init');
|
|
|
|