[Pixeldrain.com] The download buttons seem to no longer work

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5583
Joined: 2015-12-09, 15:45

Re: [Pixeldrain.com] The download buttons seem to no longer work

Unread post by moonbat » 2025-05-29, 01:09

Fornax wrote:
2025-05-28, 10:06
At this point it's not really worth the effort for me.
Did you even bother trying the official website? :roll:
You know, the one that offers a self contained tarball with no system dependencies that will run on any Linux flavor?
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Fornax
Newbie
Newbie
Posts: 4
Joined: 2025-05-21, 12:38

Re: [Pixeldrain.com] The download buttons seem to no longer work

Unread post by Fornax » 2025-05-29, 18:26

moonbat wrote:
2025-05-29, 01:09
Did you even bother trying the official website? :roll:
You know, the one that offers a self contained tarball with no system dependencies that will run on any Linux flavor?
Yes, I tried both the gtk2 and gtk3 releases from the website. I don't want to go on a dependency hunt, that's what I have Flatpak for.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37634
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: [Pixeldrain.com] The download buttons seem to no longer work

Unread post by Moonchild » 2025-05-29, 20:45

Fornax wrote:
2025-05-29, 18:26
that's what I have Flatpak for.
Unfortunately, the dependencies impose a licensing conflict when published as a flatpak, snap, or other single-package distribution. The GPL is nasty like that, and we won't (and can't) release Pale Moon under the GPL to satisfy bundling into a larger work.

Aside from that though, I do hope you're willing to make the necessary changes to pixeldrain to make downloads function. There are many different ways to make this work browser-agnosticly (including just making the clickable element be an anchor with the download attribute directly, without the need for any JS), and the simplest for your current setup would likely be to just add the <a> as a childNode before firing a simulated click on it. Alternatively, use dispatchEvent() to circumvent DOM context requirements instead of issuing click() directly.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37634
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: [Pixeldrain.com] The download buttons seem to no longer work

Unread post by Moonchild » 2025-06-10, 08:37

As an aside, I have been working on making this work in UXP in the meantime, because people do seem to fall into the copypasta trap now of using quirks in this case (especially with AI regurgitating code). See Issue #2721 (UXP). It is and remains an exception specifically for <A>, because that is the bug-that-became-standard. It's ugly, I don't like it, but it is what it is.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite