ok after this im saying screw this thing cause no scripts will work and its just annoying at this point.
here is the total script // ==UserScript== // @name imgsrc.ru => get all image links // @namespace #avg // @include http://*imgsrc.ru/* // @version 0.3.5 // ==/UserScript== GM_addStyle("body > a {clear:both;float:left;}"); // css hack to display links on new lines var addImg=function(text) { // generic image adder handler link=document.createElement("a"); link.innerHTML=/description.+, ([^"]+)/.exec(text)[1]; link.href=/class=big src=(\S+)/.exec(text)[1]; document.body.appendChild(link); }, requestPic=function(img){ // set-up single image handler GM_xmlhttpRequest({method: 'GET',url: img,onload:function(a) {addImg(a.responseText)}}) }; var pix=document.evaluate("//tr//a[contains (@href,'#pic')]",document,null,6,null),i=0; while(pik=pix.snapshotItem(i++)) requestPic(pik.href); //add images currently on the page var galleries=document.evaluate("//t...@colspan='8']/a",document,null, 4,null); //get all other galleries while(gallery=galleries.iterateNext().href) GM_xmlhttpRequest({ method: "GET", url:gallery, onload:function(a) { addImg(a.responseText); // add the image on the first page var pics=a.responseText.match(/\/.+#pic/g), i=0, base=location.protocol+"//"+location.host; while(pic=pics[i++]) // lookup other images within the requestPic(base+pic); // gallery of this loop. } }) you see where i changed it to what u said right? whats the problem with this thing! i just hate when things wont work! lol thanks again for all your help... maybe when things update it will work for me! On Nov 16, 12:32 am, esquifit <[email protected]> wrote: > 1) Install the script athttp://userscripts.org/scripts/show/37446 > 2) Change the said line to > link.href=/class=big src=(\S+)/.exec(text)[1]; > 3) Check the monkey is enabled (not greyed out) (It should be the case > if you has been able to install the script) > 4) Go to > http://imgsrc.ru/barabashka/a315405.html > 5) Scroll down up to the bottom of the screen. You must see a list of links > like > > DSC00792.JPG > DSC00804.JPG > DSC00757.JPG > ... > > It is not necessary for javascript to be enable in the page for the > script to work. If it still doesn't run, it is probably a problem with > your Greasemonkey installation or another thing. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=.
