Recover lost text by coredumping Firefox
j3s.sh
j3s.sh
It was a low-stakes scenario, but...now I know better.
Anyhow for browsers I long learned to first write in a reliable editor any text longer than a couple lines, you can lose them for a million reasons if you write directly in the browser (to the point that I don't know how people not doing it maintain their sanity...)
And by the way the reason sometimes is that the text gets deleted (e.g. StackOverflow comments....), so I often also leave around in a file for at least some time the stuff that took more time to write
(in the meanwhile genius me tried writing the first version of this message directly in a app, which crashed as I was finishing it :facepalm: )
VSCODE is configured to auto save every time I switch focus or have a short delay in typing.
Though I have rarely faced crashes, the offenders on my side are the website themselves.
For example, after going through all the steps, the website decides to not accept my form because of some JavaScript issue or server issues (such issues either take you to a new page where pressing back button clears all your text)
That's why I started saving the text in a text file before submitting. :)
> At this time, official builds of Firefox 69 and later are Notarized. As a result, it is not possible to attach a debugger to these official Firefox releases on macOS 10.14+ without disabling System Integrity Protection (SIP). This is due to Notarization requiring Hardened Runtime to be enabled with the com.apple.security.get-task-allow entitlement disallowed. Rather than disabling SIP (which has security implications), it is recommended to debug with try builds or local builds. The differences are explained below.
https://firefox-source-docs.mozilla.org/contributing/debuggi...
No comment on potential security issues using it.
Though the best design would be for the OS to be extensible and allow you to use your text editor in any text input form, this way you'd have to care about a lot fewer apps disrespecting users by easily loosing user input
https://github.com/tridactyl/tridactyl/blob/850acdf2ca11018e...
It's really cool, I've added an option to open these windows in floating mode automatically in my sway config through another application name iirc. Ans then I press a simple shortcut, and it opens my editor (Helix) with the already entered text and once I close it, it'll transfer the text from that temporary file which was open in your editor to the the input field/textare again.
[0] https://github.com/tridactyl/native_messenger [1] https://github.com/tridactyl/tridactyl
But this is still too limited (only browser, needs another window, needs a shortcut)
(From a dead comment on this page)
https://news.ycombinator.com/item?id=37049149
What stumped me for a bit was that there was a null byte between each character (IIRC). Maybe it was some kind of Unicode encoding or specific to Facebook, I have no clue. But if just searching the string doesn't find it, look around in the dump for other strings and how they're "transformed" for a hint on what to search for exactly.
That seems odd...generally handwaving for clarities sake: privacy and performance
Memory pages allocated to the firefox process typically stay as part of its working set, so they get dumped along with everything else.
one popular app for that also contained a keylogger with your whole typing history
somehow i don't miss the switcher, but i miss the history sometimes. it surely would be a security nightmare, of course
https://yandex.ru/soft/punto/win/
I've never understood the reason behind it though, you're either touch typing and looking at the screen, or switching back and forth every couple of seconds to "re-synchronize" and look for typos. People I know haven't used it for longer than a couple of weeks.
The ability to review/rewind/replay your text inputs to an app would be handy.