// ==UserScript== // @name Google picasa // @description 从picasa获取图片共享链接 // @include http://picasaweb.google.*/* // @include https://picasaweb.google.*/* // @exclude http://picasaweb.google.com/home // @exclude https://picasaweb.google.com/home // @exclude http://picasaweb.google.com/lh/* // @exclude https://picasaweb.google.com/lh/* // @require http://code.jquery.com/jquery-latest.min.js // @author congxz6688 // @version 2012.8.25 // @grant none // @namespace https://greasyfork.org/scripts/168 // @downloadURL https://update.greasyfork.icu/scripts/168/Google%20picasa.user.js // @updateURL https://update.greasyfork.icu/scripts/168/Google%20picasa.meta.js // ==/UserScript== $(".goog-icon-list-icon-meta").css("height","22px"); $(".goog-icon-list-icon-img-div").css({"border-style":"solid","border-color":"LightGreen","border-width":"thin","width":"130px","height":"150px"}); var mychecksa=$('DIV.goog-icon-list-icon-meta'); var mychecks=$('img.goog-icon-list-icon-img'); if (mychecks.length>0){ var myUl=$("noscript")[1]; var mysearch=$("noscript")[1].innerHTML.match(/src=".*?(?=")/g); if(!mysearch){ mysearch=$("noscript")[2].innerHTML.match(/src=".*?(?=")/g); myUl=$("noscript")[2]; } var myText=""; var myText2=""; for (i=0;i"; imganch2="[img]" + majaa + "[/img]"; myText+=((myText=="")?"":"

\r\n\r\n") + imganch; myText2+=((myText2=="")?"":"\r\n\r\n") + imganch2; $("",{type:"checkbox",id:"chk"+i}).css("margin","0px 0px 0px -1px").appendTo(mychecksa[i]); $("",{html:i+1}).css("margin","0px 0px 0px -1px").appendTo(mychecksa[i]); $("",{type:"text",size:"5",val:imganch2,readonly:"readonly",click:function(){$(this).select();}}).css("margin","0px 0px 0px 1px").appendTo(mychecksa[i]); $("",{type:"text",size:"5",val:imganch,readonly:"readonly",click:function(){$(this).select();}}).css("margin","0px 0px 0px 1px").appendTo(mychecksa[i]); } if (myText!=""){ var NewP=$("",{id:"newP"}).css("display","block"); NewP.insertAfter(myUl); $("