Greasy Fork is available in English.

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.

Има други версии на този скрипт, където кодът е обновен. Покажи всички версии.

  • v1.1.7 03.06.2024

    v1.1.7

    - minor tweaks

  • v1.1.6 02.06.2024

    v1.1.6

    - code refactoring
    - removed unused script @match rule
    - hashchange event listener has been added to handle the case where “File viewing method” is set to “default”
    so, now, the script will re-run some functions when the gallery return, in the same way as for the other viewing methods

  • v1.1.5 28.05.2024

    v1.1.5

    - wrapped some part of code in a window load event listener to ensure that it is not executed too early, especially when dealing with large nodelists.
    - added new download animations to the button when clicked.

  • v1.1.4 14.05.2024

    v1.1.4

    File viewing method, changes are as follows:

    - In some specific cases, files cannot not be played or displayed in the modal. These cases are:

    - file's mime-type is not readable.
    - file has "Hotlink protection enabled".
    - file is "Unavailable for legal reasons".
    - file is no longer available.

    So, to handle theses cases, mime-types array has been added to compare the mime-type.
    For the other cases listed above, a fetching API to get file details will be performed to find out if anything is wrong, and if so, the files will open in a new tab instead of displaying a broken file in the modal window.


    - Auto sort files options has been added to the script control panel
    - data-type attribute is now added to the files.
    - modification of the modal window closing condition: before, in Chromium browsers, the modal window would close when the video was clicked, for example (should be fixed now).
    - Some unused variables has been removed

  • v1.1.3 12.05.2024

    v1.1.3

    - minified css
    - script icon added
    - function declarations changed to function expressions
    - semicolons added everywhere
    - comments added to some parts of the code

  • v1.1.2 12.05.2024

    v1.1.2 : improvement in the way files are handled by the modal: video, audio and image files are now correctly displayed in the modal, any other type of file will not generate a modal but will be downloaded directly when clicked.

  • v1.1.1 11.05.2024
  • v1.1.0 11.05.2024
  • v1.0 10.05.2024