USO - fix editor's page height

Prevent the disappearance of the save button on userstyle.org edit page

Skapare
Achernar
Dagliga installationer
0
Totala installationer
10
Betyg
0 0 0
Version
0.9.5
Skapad
2021-08-29
Uppdaterad
2023-02-25
Licens
N/A
Gäller för

I know this site is a pain, and is most of the time really slow to respond, but I'm still targeting people using Stylish instead of Stylus. So I have to use their interface to handle modifications.

When editing a userstyle, if you resize one of the textarea, or if you add an element in "style settings", the size of the page increases and the "Save" button moves outside of the visible viewport. You have to move up in the page and reduce the height of textarea elements to make the button re-appear.

No more need for that with this small userscript. The element (an iframe) containing the form is automatically resized to fit.

For more userscripts, styles, extensions, tips, ..., visit my programming page.