LinkedIn's profile editing interface forces you to write long texts (up to 2000 characters length!) — such as job, education, projects descriptions — inside tiny textarea fields that are only 2–4 lines tall. The text scrolls inside the box and you can never see more than a few lines at once, making editing uncomfortable and error-prone.
This userscript automatically expands those fields to fit their full content, so you can see and edit your text without constant scrolling.
A userscript is a small JavaScript program that runs in your browser on specific websites, modifying the page to suit your needs. They are managed by browser extensions and are a well-established way to customize web experiences.
To use userscripts you need one of these popular extensions:
| Extension | Chrome / Edge | Firefox |
|---|---|---|
| Tampermonkey | ✓ | ✓ |
| Violentmonkey | ✓ | ✓ |
| Greasemonkey | — | ✓ |
- Install one of the extensions above.
- Open the raw script file:
linkedin-textarea-autoresize.user.js - The extension will automatically detect it and show an install dialog.
- Click Install.
The script will now activate automatically when you open any LinkedIn profile edit form.
When you open a profile editing form on LinkedIn (https://linkedin.com/in/your-name/.../edit/forms/...),
the script:
- Finds the edit dialog on the page.
- Detects all
<textarea>fields inside it. - Expands each one to show its full content by adjusting its height based on
scrollHeight. - Keeps adjusting the height as you type.
- Watches for new textareas that appear while the dialog is open.
The script activates only on LinkedIn edit form URLs and only inside the active edit dialog. It does nothing on any other page.
You can verify the script's behavior by reading its source — it is short and straightforward.
Key facts:
- Runs locally in your browser only. No servers, no backend, no network requests.
- Does not read or store your data. It only adjusts the visual size of input fields.
- Does not send anything anywhere. There are no
fetch,XMLHttpRequest, or any other network calls in the code. - Does not modify your LinkedIn profile. It only changes how the edit form looks in your browser session.
- Scoped to a specific URL pattern. The
@matchdirective limits execution tohttps://www.linkedin.com/*, and internally the script only activates on/edit/forms/paths.
Reading the source code is the best way to confirm all of the above.