您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Improves the user experience on pixeldrain by adding a sort by size button, markers on viewed files and file playback in a modal window.
当前为
Improves the user experience on pixeldrain by adding a sort by size button, markers on viewed files and file playback in a modal window.
1 - By default, file sizes will be displayed below their title, and a sort-by-size button will be added at the end of the left sidebar.
2 - “Mark viewed files” option is disabled by default, but you can enable it by clicking on the script manager icon (tampermonkey, violenmonkey etc...), then under the name of the pixeldrain script you'll see “pixeldrain configuration”, click on it, a configuration panel will open, from here you can enable and/or choose the options that suit you.
Options are :
a) Display files size : display or not the size of files under their title.
b) Mark viewed files : adds a blue border to clicked files.
c) File viewing method :
● default : this is pixeldrain's native behavior: when you click on a file, you're redirected to the file's page for viewing and/or downloading.
● new tab : the album page remains open and files open in a new tab when clicked on.
● modal : files are displayed or played in a modal window and a download button is available below the modal window.
Important !
if the “File viewing method” option is set to default, when you are redirected to the single file page and press the back button to return to the album page, the script will not be executed again, which means that nothing mentioned above will work/be active. This is why I recommend not setting the “File viewing method” option to “default”.
PS : Any constructive advice or bug reports are welcome, as a beginner everything is good to take.
Enjoy !