Pixeldrain DL Bypass

Adds direct-download buttons and links for Pixeldrain files using an alternate proxy — inspired by 'Pixeldrain Download Bypass' by hhoneeyy and MegaLime0

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.4.4 2025-10-06

    fix: Use configured proxy for JDownloader URLs

    • This commit fixes a bug where the JDownloader integration was hardcoded to use a specific proxy URL (gamedriveorg.pd28.workers.dev). The JDownloader links now correctly use the selectedProxy variable, ensuring that the feature use custom proxy setting.
    • The version has been updated to 1.4.4.
  • v1.4.3 2025-10-06

    refactor(jdownloader): Add direct JDownloader button for single files

    • The createJDownloaderForm function was refactored to handle both single files and file lists, accepting either a single object or an array of objects.
    • A new JDownloader button is now directly inserted into the toolbar on single file pages.
    • The createElementWithListener and wrapHTMLToElement functions were introduced to improve code readability and reduce duplication when creating and attaching event listeners to new DOM elements.
    • The handleFileList and handleSingleFile functions were updated to use the new helper functions for creating elements.
    • The version has been updated to 1.4.3.
  • v1.4.2 2025-10-05

    feat(ux): Add option to show scrollbar for long file names

    • A preferences object has been added to PDLB_CONFIG to manage user settings.
    • A new menu command, "Show/Hide horizontal scrollbar to container names", has been registered.
    • Users can now toggle between truncating long names (overflow: hidden) and allowing a horizontal scrollbar (overflow: scroll) for better readability of full file names.
    • The init function was updated to apply the user's preference at runtime using a loop over the new preferences object.
    • The handleFileList function now applies a new class container-names to the file list container to be styled based on the user's preference.
    • The version has been updated to 1.4.2.
  • v1.4.1 2025-10-05

    fix(ui): Fix horizontal scrollbar on modal links

    • The overflow: initial; style was added to the <pre> block to prevent this unwanted behavior.
    • The version has been updated to 1.4.1 to reflect these minor fixes.
  • v1.4 2025-10-05

    feat(ui): Add layout improvements and URL link styling

    • The handleSingleFile and handleFileList functions were updated to add a separator after the newly inserted buttons, improving the visual grouping of elements on the page.
    • CSS styles were added to truncate long file names with an ellipsis (...) within the modal, preventing overflow and improving the layout of the URL list.
    • The showModal function now includes a max-height and max-width property to ensure the modal window remains responsive and fits within the viewport.
    • The version has been updated to 1.4.
  • v1.3 2025-10-05

    feat(jdownloader): Add direct support for JDownloader

    • A createJDownloaderForm function was added to generate a hidden form that uses the JDownloader API to add files to the download list.
    • A new "Add links to JDownloader" button is now displayed in the showModal window for file lists.
    • The showModal function was refactored to accept an optional extraContent parameter, making it more flexible for displaying additional elements like the JDownloader form.
    • The createButtonHTML helper function was improved to support an optional type attribute, which is used for the new form's submit button.
    • Metadata downloadURL was removed since it is automatically generated by Greasyfork.
    • The version has been updated to 1.3.
  • v1.2 2025-10-05

    feat(config): Add custom proxy configuration via script manager's menu

    • The script now uses GM_registerMenuCommand, GM_getValue, and GM_setValue to create a menu in the Violentmonkey/Tampermonkey extension.
    • The new menu command "Set custom proxy" allows the user to input their own proxy domain, which is then saved and used for future downloads.
    • This provides more flexibility and control for users who want to use a different bypass server.
    • The code was refactored to use a PDLB_CONFIG object to manage all global configuration variables.
    • The createButtonHTML helper function was added to reduce code duplication and improve readability.
    • The version has been updated to 1.2.
  • v1.1 2025-10-05

    feat(ux): Add showModal enhancements

    • The showModal function has been enhanced to provide a more structured display of bypass URLs for file lists. It now shows both clickable links and a preformatted block of text for easy copying.

    feat: add 'Copy bypass URL' button for list view too

    • A new 'Copy bypass URL' button has been added for file list pages.
    • For file list pages, the button copies the URL of the currently selected file.
    • The CSS rule has been updated to hide the 'Copy bypass URL' button for galleries, in addition to the 'Download selected file' button.
  • v1.0 2025-10-04