ipoh

知乎右下角“建议反馈”的屏幕截图功能是假的吧

  •  1
     
  •   ipoh · Aug 23, 2017 · 3688 views
    This topic created in 3266 days ago, the information mentioned may be changed or developed.

    我用 chrome 提交了一个反馈,发现只是提交了文字部分,屏幕截图好像并没有提交上去。

    6 replies    2017-08-23 15:16:24 +08:00
    yidinghe
        1
    yidinghe  
    PRO
       Aug 23, 2017
    一个网站还能截屏?
    blueset
        2
    blueset  
       Aug 23, 2017 via Android
    不知道知乎怎么做的,不过网页截图确实有。
    https://html2canvas.hertzen.com
    @yidinghe
    popok
        3
    popok  
       Aug 23, 2017
    同 2 楼,https://plus.google.com/
    也有截图功能,而且功能更厉害
    ss098
        4
    ss098  
       Aug 23, 2017   ❤️ 1
    确实是在同一个请求中提交了的。

    你问我为什么知道?嘿嘿嘿。

    知乎使用的 Canvas 库是:

    https://github.com/cburgmer/rasterizeHTML.js
    ipoh
        5
    ipoh  
    OP
       Aug 23, 2017
    @ss098 有提交图片信息么?
    ss098
        6
    ss098  
       Aug 23, 2017
    Content-Disposition: form-data; name="image"; filename="blob"
    Content-Type: image/png

    这是提交反馈的 HTTP 请求头,有图片的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2399 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:05 · PVG 00:05 · LAX 09:05 · JFK 12:05
    ♥ Do have faith in what you're doing.