News for hackers. Stuff that matters.
Re:Old CSS, New CSS by anticodon on Sunday February 02, 2020 @07:32AM (#22216655)
For this reason I attempt to develop a habit to type every comment or post in vim first. This loss of typed text happens maybe once in 2-3 months but it's extremely annoying.
Re:Old CSS, New CSS by zoomablemind on Sunday February 02, 2020 @10:00AM (#22217185)
Exactly! Sometimes I wonder why browsers have no hook for launching external editor for textbox input, like EDITOR env in shell? This could also solve the need for RichTextbox with JS based controls for bold/italic/bullets etc.
Re:Old CSS, New CSS by zzo38computer on Sunday February 02, 2020 @02:38PM (#22218882)
Yes, I would want to have more user commands for many things such as:

- External editor for textbox input

- Save form data to a local disk file

- Recall form data from a disk file (on the same or a different webpage than it was saved from)

- Replace scripts in the document

- Document/application mode switch

- Disable rich text editing

- Specify a remote filename when uploading files using forms

Re:Old CSS, New CSS by Vinnl on Monday February 03, 2020 @02:33AM (#22222154)
> - Replace scripts in the document

You might be interested in https://decentraleyes.org/

Re:Old CSS, New CSS by zzo38computer on Monday February 03, 2020 @03:40PM (#22228765)
That would be good for replacing jQuery and so on, but I would want to be able to replace inline scripts too sometimes. (And also some sites have their own copy of jQuery; I will still want to substitute my own if their own copy is otherwise unmodified.)
Re:Old CSS, New CSS by Izkata on Sunday February 02, 2020 @08:33PM (#22220749)
Back before Firefox Quantum, the Vimperator addon had this. Mine was setup to launch gvim from any (focused) text field when I hit ctrl+i.

I consider this the biggest loss in that transition.

Re:Old CSS, New CSS by anticodon on Monday February 03, 2020 @04:46AM (#22222773)
With Tridactyl for Firefox it is still possible to launch external editor by typing Ctrl-I in textboxes and text inputs.
Re:Old CSS, New CSS by Hackbraten on Sunday February 02, 2020 @04:16PM (#22219491)
I wouldn’t fancy random ad networks throwing arbitrary payloads at my editor. Which I’m sure they would at least try.
Re:Old CSS, New CSS by anticodon on Monday February 03, 2020 @04:45AM (#22222770)
Tridactyl for Firefox can launch external editor (vim) by typing Ctrl-I in textboxes and text inputs.
Re:Old CSS, New CSS by TraceWoodgrains on Sunday February 02, 2020 @12:30PM (#22218053)
One of the few add-ons I've installed that's been worth its weight in gold has been "Form History Control (II)", which passively saves every comment as I type it. It's saved me no end of grief in these scenarios.