Hello Richard, In addition to setting general.useragent.site_specific_overrides:
> general.useragent.site_specific_overrides=true > general.useragent.override.sourceforge.net=Wget/1.17.1 > general.useragent.override.downloads.sourceforge.net=Wget/1.17.1 you would need to set network.http.sendRefererHeader to 0 (more on this here: <http://kb.mozillazine.org/Network.http.sendRefererHeader>). Regards, Andrey. On 04.05.2017 18:27, Andrey ``Bass'' Shcheglov wrote: > When you follow the "download" URL of a file hosted by SourceForge, it > gets downloaded in 4 HTTP requests (instead of one): > >> GET https://downloads.sourceforge.net/gparted/gparted-live-0.28.1-1-i686.iso >> HTTP 307 >> >> GET >> https://sourceforge.net/projects/gparted/files/gparted-live-stable/0.28.1-1/gparted-live-0.28.1-1-i686.iso/download?use_mirror=netcologne >> HTTP 200 > > At this point, you're presented with a SourceForge download page and > have to stare at their advertisements for like 5 seconds. After which > the page is refreshed for the 2nd time: > >> GET >> https://downloads.sourceforge.net/project/gparted/gparted-live-stable/0.28.1-1/gparted-live-0.28.1-1-i686.iso?r=&ts=1493909634&use_mirror=netix >> HTTP 302 >> >> GET >> https://netix.dl.sourceforge.net/project/gparted/gparted-live-stable/0.28.1-1/gparted-live-0.28.1-1-i686.iso >> HTTP 200 > ... and you're finally allowed to download the darn file. > > You can perform the above diagnostics yourself using either the > "Developer Tools" (the former Firebug), or the 3rd party "Live HTTP > Headers" extension available at AMO, or by setting the > accessibility.blockautorefresh preference to true (Appearance -> Content > -> Warn me when websites try to redirect or reload the page). > > No browser is smart enough to rid you from this five second delay. > > > Wget is a different story: apparently, the web server interprets its > User-Agent string as "something which is not a browser" and skips the > advertisement page. > > You can try to play with general.useragent.site_specific_overrides as > described here: <http://forums.mozillazine.org/viewtopic.php?f=40&t=2647781> > > > Regards, > Andrey.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ support-seamonkey mailing list support-seamonkey@lists.mozilla.org https://lists.mozilla.org/listinfo/support-seamonkey