ViSiToR 02:48 10-06-2008
Цитата:
Да.
Код: [no]Platform Windows, Item, "Закачать всё с oGet"="Go to Page, "javascript:(function(){var topLevelDN=function(domain){if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(domain)) return domain; var a=domain.split('.'); var l=a.length; return (l < 3) ? domain : (a[l - 2] + '.' + a[l - 1])}; var cooki; var links=''; var n=0; var rn='\r\n'; var lnks=document.links; var h=topLevelDN(location.hostname); var c=document.cookie; for(var i=0, li; li=lnks[i]; i++){if(li.protocol!='javascript:' && li.protocol!='mailto:'){cooki=(c && li.hostname && topLevelDN(li.hostname)==h)?c+'; ':''; links+=li.href+rn+li.innerText.replace(/\s/g,' ').replace(/^\s+|\s+$/,'')+rn+cooki+rn+rn; n++}}; var f=document.createElement('iframe'); f.width=0; f.height=0; f.frameBorder='no'; f.scrolling='no'; f.src='data:text/ogt;charset=UTF-8,'+encodeURIComponent(n+';My_Download_Manager;2;;'+rn+location.href+rn+links); document.documentElement.appendChild(f); f.parentNode.removeChild(f);})()",,,"Save" "
Platform Windows, Item, "Закачать выделенное с oGet"="Go to Page,"javascript:void(inivar='%t')",,,"Save" & Go to Page, "javascript:(function(){var topLevelDN=function(domain){if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(domain)) return domain; var a=domain.split('.'); var l=a.length; return (l < 3) ? domain : (a[l - 2] + '.' + a[l - 1])}; var hostName = function(link){var a = link.split('/'); return (a.length > 2) ? a[2] : ''}; var cooki; var rn='\r\n'; var links=''; var textLinks=''; var n=0; var h=topLevelDN(location.hostname); var c=document.cookie; var sel=document.createElement('div'); sel.appendChild(window.getSelection().getRangeAt(0).cloneContents()); var lnks = sel.getElementsByTagName('a'); for(var i=0, li; li=lnks[i]; i++){if(li.protocol!='javascript:' && li.protocol!='mailto:'){cooki=(c && li.hostname && li.hostname==h)?c+'; ':''; links+=li.href+rn+li.innerText.replace(/\s/g,' ')+rn+cooki+rn+rn; n++}}; var text=document.getSelection(); if(!text && inivar){text=inivar; inivar=null}; text=text.replace(/^\s+|\s+$/, '').replace(/h..p:\/\//gi,'http://').replace(/f.p:\/\//gi,'ftp://'); if(text.indexOf('://')==-1 && /^[^\s]+\/[^\s]+$/.test(text)){text='http://'+text;};var rez=text.match(/((?:https|http|ftp|mms|rtsp):\/\/[^\s<>\x22\x27]+)/gi); if(rez){for(var i=0, ri; ri=rez[i]; i++){cooki=(c && topLevelDN(hostName(ri))==h)?c+'; ':''; textLinks+= ri+rn+ri+rn+cooki+rn+rn; n++}}; var f=document.createElement('iframe'); f.width=0; f.height=0; f.frameBorder='no'; f.scrolling='no'; f.src='data:text/ogt;charset=UTF-8,'+encodeURIComponent(n+';My_Download_Manager;2;;'+rn+location.href+rn+links+textLinks); document.documentElement.appendChild(f); f.parentNode.removeChild(f);})()" "
Platform Windows, Item, "Закачать с oGet"="Go to Page,"javascript:void(inivar='%l')",,,"Save" & Go to Page, "javascript:(function(){var topLevelDN=function(domain){if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(domain)) return domain; var a=domain.split('.'); var l=a.length; return (l < 3) ? domain : (a[l - 2] + '.' + a[l - 1])}; var hostName = function(link){var a = link.split('/'); return (a.length > 2) ? a[2] : ''}; var rn='\r\n'; var link=inivar; inivar=null; if(!link)return; var c=document.cookie; var cooki=(c && topLevelDN(hostName(link))==topLevelDN(location.hostname))?c+'; ':''; var s=document.getSelection(); var txt=s?s.replace(/\s/g,' ').replace(/\x22/g,'\x27').replace(/^\s+|\s+$/,''):''; var f=document.createElement('iframe'); f.width=0; f.height=0; f.frameBorder='no'; f.scrolling='no'; f.src='data:text/ogt;charset=UTF-8,'+encodeURIComponent('1;My_Download_Manager;0;;'+rn+location.href+rn+link+rn+txt+rn+cooki+rn+rn+rn); document.documentElement.appendChild(f); f.parentNode.removeChild(f);})()" "
[/no]
Цитата:
В меню пункты менялись
Да.
Код: [no]Platform Windows, Item, "Закачать всё с oGet"="Go to Page, "javascript:(function(){var topLevelDN=function(domain){if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(domain)) return domain; var a=domain.split('.'); var l=a.length; return (l < 3) ? domain : (a[l - 2] + '.' + a[l - 1])}; var cooki; var links=''; var n=0; var rn='\r\n'; var lnks=document.links; var h=topLevelDN(location.hostname); var c=document.cookie; for(var i=0, li; li=lnks[i]; i++){if(li.protocol!='javascript:' && li.protocol!='mailto:'){cooki=(c && li.hostname && topLevelDN(li.hostname)==h)?c+'; ':''; links+=li.href+rn+li.innerText.replace(/\s/g,' ').replace(/^\s+|\s+$/,'')+rn+cooki+rn+rn; n++}}; var f=document.createElement('iframe'); f.width=0; f.height=0; f.frameBorder='no'; f.scrolling='no'; f.src='data:text/ogt;charset=UTF-8,'+encodeURIComponent(n+';My_Download_Manager;2;;'+rn+location.href+rn+links); document.documentElement.appendChild(f); f.parentNode.removeChild(f);})()",,,"Save" "
Platform Windows, Item, "Закачать выделенное с oGet"="Go to Page,"javascript:void(inivar='%t')",,,"Save" & Go to Page, "javascript:(function(){var topLevelDN=function(domain){if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(domain)) return domain; var a=domain.split('.'); var l=a.length; return (l < 3) ? domain : (a[l - 2] + '.' + a[l - 1])}; var hostName = function(link){var a = link.split('/'); return (a.length > 2) ? a[2] : ''}; var cooki; var rn='\r\n'; var links=''; var textLinks=''; var n=0; var h=topLevelDN(location.hostname); var c=document.cookie; var sel=document.createElement('div'); sel.appendChild(window.getSelection().getRangeAt(0).cloneContents()); var lnks = sel.getElementsByTagName('a'); for(var i=0, li; li=lnks[i]; i++){if(li.protocol!='javascript:' && li.protocol!='mailto:'){cooki=(c && li.hostname && li.hostname==h)?c+'; ':''; links+=li.href+rn+li.innerText.replace(/\s/g,' ')+rn+cooki+rn+rn; n++}}; var text=document.getSelection(); if(!text && inivar){text=inivar; inivar=null}; text=text.replace(/^\s+|\s+$/, '').replace(/h..p:\/\//gi,'http://').replace(/f.p:\/\//gi,'ftp://'); if(text.indexOf('://')==-1 && /^[^\s]+\/[^\s]+$/.test(text)){text='http://'+text;};var rez=text.match(/((?:https|http|ftp|mms|rtsp):\/\/[^\s<>\x22\x27]+)/gi); if(rez){for(var i=0, ri; ri=rez[i]; i++){cooki=(c && topLevelDN(hostName(ri))==h)?c+'; ':''; textLinks+= ri+rn+ri+rn+cooki+rn+rn; n++}}; var f=document.createElement('iframe'); f.width=0; f.height=0; f.frameBorder='no'; f.scrolling='no'; f.src='data:text/ogt;charset=UTF-8,'+encodeURIComponent(n+';My_Download_Manager;2;;'+rn+location.href+rn+links+textLinks); document.documentElement.appendChild(f); f.parentNode.removeChild(f);})()" "
Platform Windows, Item, "Закачать с oGet"="Go to Page,"javascript:void(inivar='%l')",,,"Save" & Go to Page, "javascript:(function(){var topLevelDN=function(domain){if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(domain)) return domain; var a=domain.split('.'); var l=a.length; return (l < 3) ? domain : (a[l - 2] + '.' + a[l - 1])}; var hostName = function(link){var a = link.split('/'); return (a.length > 2) ? a[2] : ''}; var rn='\r\n'; var link=inivar; inivar=null; if(!link)return; var c=document.cookie; var cooki=(c && topLevelDN(hostName(link))==topLevelDN(location.hostname))?c+'; ':''; var s=document.getSelection(); var txt=s?s.replace(/\s/g,' ').replace(/\x22/g,'\x27').replace(/^\s+|\s+$/,''):''; var f=document.createElement('iframe'); f.width=0; f.height=0; f.frameBorder='no'; f.scrolling='no'; f.src='data:text/ogt;charset=UTF-8,'+encodeURIComponent('1;My_Download_Manager;0;;'+rn+location.href+rn+link+rn+txt+rn+cooki+rn+rn+rn); document.documentElement.appendChild(f); f.parentNode.removeChild(f);})()" "
[/no]