SkyRE
Silver Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору Frank_Sinatra Чуть промахнулся вот именно то, что открывает то что выделено Код: [Hotclick Popup Menu] ... --------------------3= Item, 67394="Go to Page, "javascript:void(inivar='%t')",,, "url" & Go to page, "javascriptfunction(){var reh=/^_?[hС…].{2}[pРї]:\/\//i;var rehs=/^_?[hС…].{2}[pРї][sСЃ]:\/\//i;var ref=/^_?[fС„].{1}[pРї]:\/\//i;var refo = /^_?ftp\./i;var reop = /^_?opera:/i; var url=window.inivar||document.getSelection().toString();window.inivar=null;var hrefurl=url.replace(/\s+/g,'').replace(reh,'http:\/\/').replace(rehs,'https:\/\/').replace(ref,'ftp:\/\/').replace(refo,'ftp:\/\/ftp\.').replace(reop,'opera:'); if (hrefurl.indexOf('http:\/\/')==-1 && hrefurl.indexOf('ftp:\/\/')==-1 && hrefurl.indexOf('https:\/\/')==-1 && hrefurl.indexOf('opera:')==-1){hrefurl='http:\/\/'+hrefurl};window.open(hrefurl,hrefurl);})()"" Item, 80320="Go to Page, "javascript:void(inivar='%t')",,, "url" & Go to page, "javascriptfunction(){var url=document.getSelection().toString()||window.inivar;window.inivar=null;url=url.replace(/\s+/g,'').replace(/^\((.+)\)$|^_|[,.!?]$/g,'$1').replace(/^[hС…]..[pРї]:\/\//i,'http://').replace(/^[fС„].[pРї]:\/\//i,'ftp://');if(url.search(/^(http|ftp)s?:\/\//i)==-1){var p=url.indexOf('://');url='http://'+(p!=-1?url.substring(p+3):url)};window.open(url,url).blur()})()"" --------------------4= | Добавлено: В кодировке win-1251. Просто сам AC_Menu.ini в UTF-8. Вот в UTF-8 Код: Item, 67394="Go to Page, "javascript:void(inivar='%t')",,, "url" & Go to page, "javascriptfunction(){var reh=/^_?[hх].{2}[pп]:\/\//i;var rehs=/^_?[hх].{2}[pп][sс]:\/\//i;var ref=/^_?[fф].{1}[pп]:\/\//i;var refo = /^_?ftp\./i;var reop = /^_?opera:/i; var url=window.inivar||document.getSelection().toString();window.inivar=null;var hrefurl=url.replace(/\s+/g,'').replace(reh,'http:\/\/').replace(rehs,'https:\/\/').replace(ref,'ftp:\/\/').replace(refo,'ftp:\/\/ftp\.').replace(reop,'opera:'); if (hrefurl.indexOf('http:\/\/')==-1 && hrefurl.indexOf('ftp:\/\/')==-1 && hrefurl.indexOf('https:\/\/')==-1 && hrefurl.indexOf('opera:')==-1){hrefurl='http:\/\/'+hrefurl};window.open(hrefurl,hrefurl);})()"" Item, 80320="Go to Page, "javascript:void(inivar='%t')",,, "url" & Go to page, "javascriptfunction(){var url=document.getSelection().toString()||window.inivar;window.inivar=null;url=url.replace(/\s+/g,'').replace(/^\((.+)\)$|^_|[,.!?]$/g,'$1').replace(/^[hх]..[pп]:\/\//i,'http://').replace(/^[fф].[pп]:\/\//i,'ftp://');if(url.search(/^(http|ftp)s?:\/\//i)==-1){var p=url.indexOf('://');url='http://'+(p!=-1?url.substring(p+3):url)};window.open(url,url).blur()})()"" |
|