diff --git a/lib/iframeProtection.js b/lib/iframeProtection.js index 6457747..383c2f1 100644 --- a/lib/iframeProtection.js +++ b/lib/iframeProtection.js @@ -159,20 +159,22 @@ "write" ); const documentWrite = documentWriteDescriptor.value; - documentWriteDescriptor.value = exportFunction(function write(str){ - str = "" + str; - // weird problem with waterfox and google docs - const parts = ( - str.match(/^\s*