mitmproxy: System copying shortcuts don't work with mitmweb
Steps to reproduce the problem:
mitmweb- web browser opens- highlight any text on the page
- use Cmd+C system shortcut (standard for copying text on macOS)
Result: nothing is copied - clipboard remains as-is.
Expected: highlighted text is copied to clipboard.
Any other comments? What have you tried so far?
Right clicking and hitting copy works, but this is still a massive usability issue.
This has been an issue since at least v2.0.2 - but maybe earlier, and is still a problem on the latest version.
I have had this problem for about a year, using multiple different Macs, so I don’t think this is something unique to my current setup.
Have searched, but there don’t seem to be any issues mentioning this, surprisingly.
System information
Mitmproxy: 3.0.2
Python: 3.6.4
OpenSSL: OpenSSL 1.0.2n 7 Dec 2017
Platform: Darwin-17.4.0-x86_64-i386-64bit
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (13 by maintainers)
@uson1x try clearing your browser cache
i was just about to comment that i had this problem with 5.0.1,
looked in the source, app.js line 191, it didnt have metakey
while i was writing “5.0.1 doesnt have metakey in the source”, i thought to clear the chrome cache, and that fixed it
i havent looked at what build tool is used for the javascript, but i know some build tools can add file hash to the request urls to prevent caching,
so the request to app.js would be “app.js?abcdefghijk”, or possibly “app.js?v=5.0.1”, each update is seen by the browser cache as a new file