Trouble downloading!
-
tuxedomarty
- Joined: Sun Dec 19, 2010 5:45 pm
Trouble downloading!
I am trying to download someone's video because there is something I would like to say about it, but the download never automatically starts, and the link that appears after 10 seconds doesn't work either.
- dokidoki
- c0d3 m0nk3y
- Joined: Tue Dec 19, 2000 7:42 pm
- Status: BLEEP BLOOP!
- Location: doki doki space
- Contact:
Re: Trouble downloading!
The problem is that the Org is serving pages over https, but is giving http links for video downloads. Chrome (maybe other browsers too, not sure) doesn't like it when secure pages serve up insecure content. One thing you can do is right-click on the download link, copy the address, paste it into a new tab, and hit Enter.
-
CodeKrash
- Joined: Thu May 27, 2010 7:02 pm
Re: Trouble downloading!
It would be pretty easy to make a tampermonkey script to rewrite the URL so the page works properly.
-
CodeKrash
- Joined: Thu May 27, 2010 7:02 pm
Re: Trouble downloading!
here ya go! install tampermonkey browser extension, add this to it:
Code: Select all
// ==UserScript==
// @name a-m-v.org - Force HTTPS on download link
// @match *://*.animemusicvideos.org/members/mydownloads.php*
// @match *://*.animemusicvideos.org/members/localdownload*
// @match *://*.animemusicvideos.org/pancake/dl/*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
function fixLinks() {
document.querySelectorAll('a.textLinkOne[href^="http://"]').forEach(a => {
a.href = a.href.replace(/^http:\/\//i, 'https://');
});
}
// Run once
fixLinks();
// Watch for the delayed link appearing
const observer = new MutationObserver(fixLinks);
observer.observe(document.body, { childList: true, subtree: true });
})();

