search book in between Coupang and Aladin by ISBN
javascript:
var COU='https://www.coupang.com/np/search?q=';
var ALA='https://www.aladin.co.kr/search/wsearchresult.aspx?SearchTarget=All&SearchWord=';
function inUrl(keyword){ return document.URL.indexOf(keyword)>0;}
function findFirstElementsByCnames(cnames){
  for(var i in cnames){
    var elm=document.getElementsByClassName(cnames[i])[0];
    if(elm) return elm;
  }
}
function isbnInCoupang(){
  var elm = findFirstElementsByCnames(['prod-description']);
  if(elm) return elm.innerHTML.replace(/^.*[\s\S]+ISBN: /m,"").replace(/<.*[\s\S]+/m,"");
  return "";
}
function isbnInAladin(){
  var elm = findFirstElementsByCnames(['conts_info_list1','conts_info_list2']);
  if(elm) return elm.innerHTML.replace(/^.*ISBN : /,"").replace(/<.*$/,"");
  return "";
}
function openSite(url, isbn){window.open(url+isbn);}
function main(){
  if(inUrl('aladin'))
    openSite(COU, isbnInAladin());
  else if(inUrl('coupang'))
    openSite(ALA, isbnInCoupang());
  else
    openSite("http://wiki.gimslab.com/moniwiki/wiki.php/bookmarklets","");
}
main()

Find in Coupang on Auction
// 앞 2개 토큰만
javascript:
var v=document.getElementById("ucCatalogAndItemName_hdivItemTitle").textContent.trim();
v=v.replace(/^([^\s]+)\s([^\s]+)\s.*$/,"$1 $2");
v="http://www.coupang.com/np/search?q="+encodeURIComponent(v);
javascript:location.href=v;

// 전체
javascript:var v=document.getElementById("ucCatalogAndItemName_hdivItemTitle").textContent.trim();v="http://www.coupang.com/np/search?q="+encodeURIComponent(v);javascript:location.href=v;


Compact Page
javascript:(function(){var%20c=encodeURIComponent;location.href='http://www.google.com/gwt/n?u='+c(location.href);})();

Dic (다음)
javascript:function%20getSelection(){return%20document.all%20?%20document.selection.createRange().text:document.getSelection();
}function%20openSdic(){var%20w=window.open('http%3a%2f%2fengdic.daum.net%2fdicen%2fsmall_search.do%3fendic_kind%3dall%26m%3dall%26q%3d'+getSelection(),'DirectSearch_Dic','left='+(screen.width-410)+',top=17,width=405,height=500,resizable=1,scrollbars=1');void(0);}openSdic();

Dic for selected text(선택된 텍스트를 바로 쿼리)
javascript:function%20getSelection(){return%20document.all%20?%20document.selection.createRange().text:document.getSelection();}function%20openSdic(){var%20c=encodeURIComponent;var%20w=window.open('http://endic.naver.com/popManager.nhn?m=search&searchOption=&query='+c(getSelection()),'DirectSearch_Dic','left='+(screen.width-410)+',top=17,width=405,height=500,resizable=no,scrollbars=no');void(0);}openSdic();

Dic
javascript:function%20openSdic(){var%20w=window.open('http://endic.naver.com/popManager.nhn?m=miniPopMain','DirectSearch_Dic','left='+(screen.width-410)+',top=17,width=405,height=500,resizable=no,scrollbars=no');void(0);}openSdic();

Google Bookmark
javascript:(function(){var%20a=window,b=document,c=encodeURIComponent,d=a.open("http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=420px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();

마가린 등록(새창으로)
javascript:var%20a=window,b=document,c=encodeURIComponent;var%20s=b.getSelection();var%20tit=s.length>0?s.substring(0,100):b.title;tit=tit.replace(/\'/g,'');open('http://mar.gar.in/post/popup_post/&qTitle='+c(c(tit))+'&qURL='+c(c(location.href)),'mar_bkmk','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=610px,width=780px,resizable=1,alwaysRaised=1,scrollbars=1');void(0);

마가린 등록
javascript:location.href='http://mar.gar.in/post/popup_post/&qURL='+encodeURIComponent(encodeURIComponent(location.href))+'&qTitle='+encodeURIComponent(encodeURIComponent((document.getSelection().length>0?document.getSelection().substring(0,100):document.title).replace(/\'/g,'')));

TinyURL!
javascript:void(location.href='http://tinyurl.com/create.php?url='+encodeURIComponent(location.href))

다음영화
javascript:function getSelection(){return document.all ? document.selection.createRange().text:document.getSelection();}function openSdic(){var c=encodeURIComponent;var w=window.open('https://www.google.com/search?q=다음영화 '+c(getSelection()),'DaumMovie');void(0);}openSdic();

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2019-06-29 01:30:36
Processing time 0.0082 sec