feedback.js

带截图的反馈表单。(Feedback form with screenshot)

Github星跟蹤圖

feedback.js -- 带有屏幕截图的反馈表单

wip ...预览 http://experiments.hertzen.com/jsfeedback/

此脚本允许您创建反馈表单,其中包括在客户端浏览器上创建的屏幕截图以及表单。屏幕截图基于 DOM,因此它可能不是真实表示的 100% 准确,因为它没有制作实际的屏幕截图,而是根据页面上可用的信息构建屏幕截图。

它是如何工作的?

该脚本基于 html2canvas库,通过阅读 DOM 和不同的内容将当前页面呈现为画布图像应用于元素的样式。此脚本添加了用户在该图像顶部绘制元素的选项,例如在图像上标记感兴趣的点以及它们发送的反馈。

没有插件,没有闪存,也没有服务器需要的交互,只有纯 JavaScript!

建立feedback.js

  1. 如果您还没有rake和uglifier,请在命令行安装它(仅当您要编译缩小版本时才需要uglifier)
     gem install rake
     gem install uglifier
        
  2. 导航到终端中的feedback.js目录并运行以下之一
     rake compile_unminified
     rake compile_minified
     rake compile_all
        

浏览器兼容性

  • Firefox 3.5 +
  • 较新版本的 Google Chrome,Safari & Opera
  • IE9

许可证

feedback.js 在 MIT 许可下发布:


主要指標

概覽
名稱與所有者niklasvh/feedback.js
主編程語言JavaScript
編程語言Ruby (語言數: 2)
平台Linux, Mac, Windows
許可證Other
所有者活动
創建於2012-07-26 11:15:46
推送於2019-08-09 03:35:30
最后一次提交2012-10-17 13:15:38
發布數0
用户参与
星數873
關注者數53
派生數193
提交數18
已啟用問題?
問題數40
打開的問題數32
拉請求數3
打開的拉請求數10
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

feedback.js - Feedback form with screenshot

wip... preview available at http://experiments.hertzen.com/jsfeedback/

This script allows you to create feedback forms which include a screenshot, created on the clients browser, along with the form. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.

How does it work?

The script is based on the html2canvas library, which renders the current page as a canvas image, by reading the DOM and the different styles applied to the elements. This script adds the options for the user to draw elements on top of that image, such as mark points of interest on the image along with the feedback they send.

No plugins, no flash, no interaction needed from the server, just pure JavaScript!

Building feedback.js

  1. Install rake and uglifier at the command line if you don't already have it (uglifier is only needed if you are going to compile the minified version)
    gem install rake
    gem install uglifier
  1. Navigate to the feedback.js directory in the terminal and run one of the following
    rake compile_unminified
    rake compile_minified
    rake compile_all

Browser compatibility

  • Firefox 3.5+
  • Newer versions of Google Chrome, Safari & Opera
  • IE9

License

feedback.js is released under the MIT license: