LeetCode Turbo

Replace monaco with vanilla textarea.

Fra 14.11.2023. Se den seneste versjonen.

Forfatter
kkocdko
Vurderinger
0 0 0
Versjon
0.1.3
Lagd
14.11.2023
Oppdatert
14.11.2023
Size
5,8 kB
Lisens
Unlicense
Gjelder

Replace monaco with vanilla textarea.

Why? I couldn't represent others but I only wrote code in my local editor and then copied it into leetcode, so the heavy monaco editor in leetcode problem page is useless for me. This script replaces monaco with vanilla textarea, reducing the per page memory footprint from ~240 MiB to ~150 MiB. The specific affection depends on your environment.