LeetCode Turbo

Replace monaco with vanilla textarea.

Author
kkocdko
Daily installs
0
Total installs
4
Ratings
0 0 0
Version
0.1.4
Created
2023-11-14
Updated
2023-11-15
License
Unlicense
Applies to

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.