kdzwinel/betwixt

Remove unnecessary UI elements

kdzwinel opened this issue · 3 comments

Some UI elements do not work and do not make sense.
This requires digging into the DevTools code.

Things to remove:

  • preserve log
  • disable cache
  • capture screenshots
  • "Clear browser cache" - context menu
  • "Clear browser cookies" - context menu
  • hide data URLs

right now as we were talking about this is going to be a hack job into dev tools, would be nice to be able to programmatically disable these features in devtools ... however this might just add too much noise to devtools to enable this functionality so a patch commit that we can manually apply will prob be best here

cc @paulirish

konrad, you're speaking the protocol into the frontend?

well actually

based on the animation it appears that you're already hacking the frontend. so applying some display:none's is easy. and context menu.... iunno that will be harder. :)

I kinda hoped that I'll keep DT easy to update by relying on config files as much as possible (this worked out for the main tabs). However, as Sam mentioned, it looks like it will be impossible very hard going forward. Anyway, I still want to check what's possible to turn off using config files, for everything else, we'll do the display:none thing.

konrad, you're speaking the protocol into the frontend?

do I use remote debugging protocol to communicate with the frontend? if so ➡️ yes.