[c-nsp] "Enhanced" download procedure

Bruce A. Locke blocke at newpaltz.edu
Sat Sep 19 03:46:24 EDT 2009


The following might be of interest as a workaround.

Create a bookmark in your favorite browser and add the following in the Location/URL field (all as one line):

javascript:eval('dlf_cart=' + cartData); for (dlf_i = 0; dlf_i < dlf_cart["goodCartContent"].length; dlf_i++) {dlf_curcartpos = dlf_cart["goodCartContent"][dlf_i]; dlf_cururl = "http://" + dlf_curcartpos["ftpServerName"] + dlf_curcartpos["filePath"] + "/" + dlf_curcartpos["fileName"]; document.write("<a href=\"" + dlf_cururl + "\">" + dlf_cururl + "</a><br/>");}

I've done some light testing on Firefox 3.5 and it seems to work for me.

Use this bookmark on the "Download Software" page that says "If your download does not start, click here".   It's the page you see in your main browser window that then causes Firefox to whine about the popup its trying to open with the java applet.

As has been pointed out previously the information needed to construct a direct HTTP link is embedded in that page which is passed to the java applet.  This bookmark script just extracts that and prints the direct links.  In other words, it took me 15 minutes of learning javascript from quick Google queries to get done what Cisco could do themselves.

Enjoy your weekend everyone.


-- 
Bruce A. Locke
blocke at newpaltz.edu
HAB 50 - (845) 257-3809

Network Administrator
Computer Services
State University of New York at New Paltz 



More information about the cisco-nsp mailing list