Home > other >  Window. The location. Download href cycle, only the final image to use, no other pictures
Window. The location. Download href cycle, only the final image to use, no other pictures

Time:05-22

If (obj. Event==='downloadAssist') {
Var assUrl=obj. Data. AssistUrl. Split (", ");
For (var I=0; I Window. The location. Href ('/file/download? FilePath='+ assUrl [I])
//var aLink=document. The createElement method (' a ');
//aLink. Download=assUrl [I];
//aLink href='https://bbs.csdn.net/file/download? FilePath='+ assUrl [I];
//the document. The body. The appendChild (aLink);
//aLink. Click ();
//the document. The body. RemoveChild (aLink);
}
  • Related