3 ms·
You can get most pages down to 1 character if you craft your own custom selector, e.g. https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa2398a14a18a85
by bovine3dom 6y ago
You can get most pages down to 1 character if you craft your own custom selector, e.g. https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa2398a14a18a8563a742832c1/.tridactylrc#L58 https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa...
For the record we don't recommend piping straight to `!` as a malicious (and fairly Tridactyl specific) site could use it to execute whatever it wanted. We have a default bind for open in mpv that sanitises things - https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa2398a14a18a8563a742832c1/src/lib/config.ts#L284 https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa... using https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa2398a14a18a8563a742832c1/src/lib/config.ts#L591 https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa...
- michaelmrose 6y agoThanks. A question occurs to me shouldn't such sanitation be its own step in order to be generalized to anything that the user wants to run?