LeetCode Horizontal Scroll for Multi Language Code

Add a horizontal scrollbar to the div container of multi programming language Code

As of 2025-03-25. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
138 Aspen
Ratings
0 0 0
Version
0.2.3.1
Created
2024-01-13
Updated
2025-03-25
Size
10.1 KB
License
MIT
Applies to

The code editor (Markdown) in the LeetCode solution area supports this syntax: displaying code in different programming languages using separate tabs


```Go []
lang1
```

```py []
lang2
```

```cpp []
lang3
```

However, when there are around 15 tabs, there is no horizontal scrollbar at the bottom, making it inconvenient for users to view.

This script adds a horizontal scrollbar to address this issue.