question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System copying shortcuts don't work with mitmweb

See original GitHub issue
Steps to reproduce the problem:
  1. mitmweb - web browser opens
  2. highlight any text on the page
  3. 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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
moo-im-a-cowcommented, Mar 3, 2020

@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

0reactions
mhilscommented, Mar 16, 2020

Thanks y’all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

mitmproxy docs
After installation, you'll find shortcuts for mitmweb (the web-based interface) and mitmdump in the start menu. Both exe- cutables are added to ...
Read more >
Why screen sharing and keyboard shortcuts dont work in all ...
Since your system handles the shortcuts, there are quite a few advantages to this approach. The app cant read all your keystrokes arbitrarily....
Read more >
Mitmproxy 7.0 - Hacker News
Mitmproxy is so awesome, I use it all the time! Can recommend it for anyone who needs to do some fiddling with HTTP(S)...
Read more >
Options - mitmproxy docs
Name Type Description # allow_hosts mitmproxy mitmdump mitmweb sequence of str Opposite of ‑‑ignore‑hosts... # client_replay mitmproxy mitmdump mitmweb sequence of str Replay client requests...
Read more >
How do I close flow in mitmproxy web interface (mitmweb)
You can, for example, press Esc to deselect the flow.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found