You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few scripts that download multiple files.
It used to work before. Now it will stop giving me downloads after a bit.
I can introduce a delay, and that seems to work as a workaround.
The problem is all the promises return fulfilled. (E.g. call GM.download x times, get x fulfilled promises.)
But when the browser starts fucking LYING to me, I don't know what to do at that point.
Script
// ==UserScript==
// @name Download Test
// @namespace martixy
// @version 2024-12-19
// @description try to take over the world!
// @author martixy
// @match https://www.google.com
// @grant GM_download
// ==/UserScript==
for (let i = 0; i < 30; i++) {
GM.download('https://www.google.com/images/branding/googlelogo/2x/googlelogo_light_color_272x92dp.png', 'g.png')
.then(() => {
console.log(i)
})
}
The text was updated successfully, but these errors were encountered:
Expected Behavior
Get all the downloads you ask for.
Actual Behavior
Get only some of them.
Specifications
Details
I have a few scripts that download multiple files.
It used to work before. Now it will stop giving me downloads after a bit.
I can introduce a delay, and that seems to work as a workaround.
The problem is all the promises return fulfilled. (E.g. call
GM.download
x times, get x fulfilled promises.)But when the browser starts fucking LYING to me, I don't know what to do at that point.
Script
The text was updated successfully, but these errors were encountered: