LeetCode Turbo

Replace monaco with vanilla textarea.

Forfatter
kkocdko
Daglige installasjoner
0
Totale installasjoner
4
Vurderinger
0 0 0
Versjon
0.1.4
Lagd
14.11.2023
Oppdatert
15.11.2023
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.