Macaca uirecorder web majorization

另一种蓝 · 2020年12月04日 · 1790 次阅读

Mac:

  1. zip /usr/local/lib/node_modules/uirecorder/tool/uirecorder.crx
  2. unzip and change
  3. chrome://extensions/ gen .crx
  4. change start.js
  5. it works

Windows:

  1. unzip C:\Users\supdev\AppData\Roaming\npm\node_modules\uirecorder\tool\uirecorder.crx
  2. change C:\Users\supdev\AppData\Roaming\npm\node_modules\uirecorder\tool\uirecorder\uirecorder\start.html to any display
  3. open chrome developer mode and goto chrome://extensions/ click "打包扩展程序" and upload "C:\Users\supdev\AppData\Roaming\npm\node_modules\uirecorder\tool\uirecorder\uirecorder"
  4. generate new uirecorder.crx
  5. drag uirecorder.crx to chrome://extensions/ and get id
  6. open C:\Users\supdev\AppData\Roaming\npm\node_modules\uirecorder\lib\start.js
  7. change yield browser.url('chrome-extension://' + (debug ? 'cpeoaoofllichfgeklkgdehjfhmbgeaa' : 'gdgcededodoknhpogghdgdmejoopabmo')+'/'+(mobile?'mobile':'start')+'.html?port='+serverPort); to (debug ? 'cpeoaoofllichfgeklkgdehjfhmbgeaa' : 'id')
  8. it works
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册