LeetCode Turbo

Replace monaco with vanilla textarea.

Yazar
kkocdko
Günlük kurulumlar
0
Toplam kurulumlar
4
Değerlendirmeler
0 0 0
Versiyon
0.1.4
Oluşturulma
14.11.2023
Güncellenme
15.11.2023
Lisans
Unlicense
Geçerli

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.