USO - fix editor's page height

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

目前為 2023-02-24 提交的版本,檢視 最新版本

作者
Achernar
評價
0 0 0
版本
0.9.4
建立日期
2021-08-29
更新日期
2023-02-24
尺寸
933 位元組
授權條款
未知
腳本執行於

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.