UE-L

November 17, 2014 at 13:19 (Home)

var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
jQuery.noConflict();

var lcPapka = new Array("KNG","PRD","STA","NOTI","CD","DIS","BBL")
var lcExt   = new Array("HTM","HTML","TXT","DOC","XLS","PDF","MP3","JPG");
var alpha   = new Array("A", "B", "C", "D", "E", "F" ,"G" ,"H" ,"I" ,"J" ,"K" ,"L" ,"M" ,"N" ,"O" ,"P" ,"Q" ,"R" ,"S" ,"T" ,"U" ,"V" ,"W" ,"X" ,"Y", "Z");

                        
lcPapka.forEach (function(entry) {
  lcExt.forEach (function(ext) {
    alpha.forEach(function(letter){
      var lcTmp = '/abw/FullText/' + entry + '/' + letter + '0029172.' + ext;
      
      jQuery.ajax({'async': false, 'url': lcTmp})
    });
    
  });
});
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s