USO - fix editor's page height

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

作者
Achernar
日安装量
0
总安装量
10
评分
0 0 0
版本
0.9.5
创建于
2021-08-29
更新于
2023-02-25
许可证
暂无
适用于

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.