We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute Download
Works successfully in Firefox, fails in Chrome. It works without adding Referer.
// ==UserScript== // @name New Userscript // @namespace http://tampermonkey.net/ // @version 2024-11-24 // @description try to take over the world! // @author You // @match https://*/* // @grant GM_download // ==/UserScript== (function() { GM_download({ headers: { Referer: "" }, url: "https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png", name: "download.png", onload: () => console.log("success"), onerror: error => console.log(error), }); })();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Execute Download
Actual Behavior
Works successfully in Firefox, fails in Chrome.
It works without adding Referer.
Specifications
Script
The text was updated successfully, but these errors were encountered: