USO - fix editor's page height

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

Autor
Achernar
Denně instalací
0
Celkem instalací
10
Hodnocení
0 0 0
Verze
0.9.5
Vytvořeno
29. 08. 2021
Aktualizováno
25. 02. 2023
Licence
neuvedeno
Spustit na

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.