在Chrome Signature-Pad中,只需打开空白页;在其他浏览器中工作正常

时间:2017-09-03 16:14:07

标签: javascript

Chrome 60.0.3112.113(64位)

macOS 10.12.6(16G29)

Signature-Pad 2.3.0演示页:(http://szimek.github.io/signature_pad

几个月前,当我看着它时,Signature-Pad曾经工作过。 所以我实际上已经准备好尝试了,但现在发现它不起作用。

在Safari和Firefox中运行良好。

我清除了所有缓存并重置为默认值,但在保存时仍然只生成一个空白页面。任何想法如何解决?

控制台错误表示:http://szimek.github.io/signature_pad/js/app.js:33不允许导航顶部帧到数据URL:数据:图像/ PNG; BASE64,iVBORw0KGgoAAAANSUhEUgAABSQAAAJ8CAYAAADnFa9pAAAgAElEQVR4XuzdXch1WYIf9JWYSUCUmgqYuRCpaYNEjVJdXhhhopUWomMg1DReOGqgukVw8Ka7ZMDkxp7CG0PA6rrwQoxUNwQmF0J1Q4JRkerWBGbworrxAxGH6kZBE5CaFsHJGG35d589s2fP3uc5H3uvvfbavw0vb9XznrPXWr + 1nvM853 / WX + 8pLgIECBAgQIAAAQIECBAgQIAAAQIECFQS + D2VylEMAQIECBAgQIAAAQIECBAgQIAAAQIEikDSICBAgAABAgQIECBAgAABAgQIECBAoJqAQLIatYIIECBAgAABAgQIECBAgAABAgQIEBBIGgMECBAgQIAAAQIECBAgQIAAAQIECFQTEEhWo1YQAQIECBAgQIAAAQIECBAgQIAAAQICSWOAAAECBAgQIECAAAECBAgQIECAAIFqAgLJatQKIkCAAAECB ... AgQIAAAQIECBAgQIAAAQIEjgQckkdjiEKAAAECBAgQIECAAAECBAgQIECgLuCQrC + sHwECBAgQIECAAAECBAgQIECAAIEjAYfk0RiiECBAgAABAgQIECBAgAABAgQIEKgLOCTrC + tHgAABAgQIECBAgAABAgQIECBA4EjAIXk0higECBAgQIAAAQIECBAgQIAAAQIE6gIOyfrC + hEgQIAAAQIECBAgQIAAAQIECBA4EnBIHo0hCgECBAgQIECAAAECBAgQIECAAIG6gEOyvrB + BAgQIECAAAECBAgQIECAAAECBI4EHJJHY4hCgAABAgQIECBAgAABAgQIECBAoC7gkKwvrB8BAgQIECBAgAABAgQIECBAgACBIwGH5NEYohAgQIAAAQIECBAgQIAAAQIECBCo Czgk6wvrR4AAAQIECBAgQIAAAQIECBAgQOBIwCF5NIYoBAgQIECAAAECBAgQIECAAAECBOoCA4YKhSIHThlnAAAAAElFTkSuQmCC (匿名)@ http://szimek.github.io/signature_pad/js/app.js:33

1 个答案:

答案 0 :(得分:0)

显然Google Chrome已取消对顶部框架导航的支持,您可以在此处查看更多信息:https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GbVcuwg_QjM

JsPDF - Not allowed to navigate top frame to data URL