LibreScore / dl-librescore

Download sheet music
MIT License
1.71k stars 60 forks source link

Browser extension can't download files #45

Closed aletschfirn closed 9 months ago

aletschfirn commented 10 months ago

I thought it was just on one score, but checking other one returns same result :( I can't really give any of useful information, and sorry about that

image image

PeterNjeim commented 10 months ago

The file is downloading correctly for me, this score: https://musescore.com/user/11512151/scores/5581047, right?

Please try again and see if it works

PeterNjeim commented 10 months ago

Other users on Discord have reproduced this, it might be a regional restriction. Will test it later with a VPN

Cybernetic-Fox commented 10 months ago

I run the Tampermonkey with the Brave Browser on PC.

Specifically, I block with very specific settings. Not allowing anything to track me.

I do it in the order that follows:

  1. Open the desires musescore site
  2. Select the Brave logo icon in the right side of the search bar.
  3. In advanced controls: [Block trackers & ads], [Upgrade connection to HTTPS], [Do not touch the block scripts yet], [Block Fingerprinting], [Block all cookies], and [Forget me when I close this site] on.

After that, continue with the following as fast as possible.

  1. Turn on Tampermonkey with the loaded script (using the latest version that came out 3 weeks ago)
  2. Reopen the Brave logo in the search bar and turn on [Block all scripts] until the screen turns white.
  3. Once the screen is all white, turn off [Block all scripts] and select Midi.
  4. The MIDI should be downloaded in a few seconds.
PeterNjeim commented 10 months ago

Thanks for the information. Maybe one of MuseScore's backend servers was added to a tracker list? I use uBlock Origin which also blocks trackers but it works for me. I'll contact the others who reported this problem on Discord and see what their browser situation is

Cybernetic-Fox commented 10 months ago

You're welcome. I'm so glad I was able to help! :3

Avanatiker commented 10 months ago

[Edited by Peter Njeim for brevity]

For others: You can get the data on about:support

  1. 7TV Nightly

  2. ClearURLs

  3. HistoryBlock

  4. I still don't care about cookies

  5. TTV LOL PRO

  6. uBlock Origin

  7. User-Agent Switcher and Manager

  8. YouTube NonStop

PeterNjeim commented 10 months ago

Some possible culprits based on messages on Discord:

Extensions aren't the culprit

Firefox itself doesn't work

For chromium, it's hit or miss, I can't reproduce it

PeterNjeim commented 9 months ago

Reopening to track PDF download issue after fallback used in https://github.com/LibreScore/dl-librescore/commit/fc99d7fd9b32f0eeaec79a657268f6060bdb341b patched

PeterNjeim commented 9 months ago

Fixed in https://github.com/LibreScore/dl-librescore/commit/772e7b37a13c93244077149c3c24378ac0099d86