pixeldrain improved (sort by size, markers and modal)

Improves the user experience on pixeldrain by adding a sort by size button, markers on viewed files and file playback in a modal window.

La data de 11-05-2024. Vezi ultima versiune.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
Dummy_mole
Rating-uri
0 0 0
Versiune
1.1.1
Creat
10-05-2024
Actualizat
11-05-2024
Size
39,3 KB
Licență
GNU GPLv3
Se aplică pe

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 !