onsdag 6 juli 2016

Bookmarklets

Baker's Biographical Dictionary of Musicians, m.m.
javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20uppslagsordet:',''))}if(s)location.href='http://search.alexanderstreet.com.ezproxy.ub.gu.se/bakr/search?searchstring='+escape(s)
Britannica
javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20uppslagsordet:',''))}if(s)location.href='http://academic.eb.com/bps/browse-alpha/'+escape(s)
Engelsk-svensk
javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20uppslagsordet:',''))}if(s)location.href='http://www.ord.se/oversattning/Engelska-pro/?s='+escape(s)+'&l=SENSSV'
Grove, Oxford Music Online

javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20uppslagsordet:',''))}if(s)location.href='http://www.oxfordmusiconline.com.ezproxy.ub.gu.se/subscriber/search_results?q='+escape(s)

Gå till markerad adress

javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20adressen:',''))}if(s)s=s.replace(/http:\/\//g,%22%22);s=s.replace(/%20/g,%22%22);location.href='http://'+s

Italiensk-engelsk
javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20uppslagsordet:',''))}if(s)location.href='http://www.wordreference.com/it/en/translation.asp?iten='+escape(s)
LIBRIS, korrigerad länk från index-träfflista
javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);if(!s)%7Bvoid(s=prompt('Skriv%20titeln:',''))%7Dif(s)s=s.toLowerCase();s=s.replace(/%3A%24/g,%20%22%22);s=s.replace(/%C2%B4%7C%5C?%7C'%7C%5C%5C%7C%20%24/g,%20%22%22);s=s.replace(/%22/g,%20%22'%22);s=s.replace(/-/g,%20%22-%20%22);s=s.replace(/%5C//g,%20%22%20%22);location.href='http://libris.kb.se/hitlist?p=1&q=zbti%3a%22%5e'+encodeURIComponent(s)+'%5e%22'
LIBRIS, titelindex

javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);if(!s)%7Bvoid(s=prompt('Skriv%20titeln:',''))%7Dif(s)s=s.toLowerCase();s=s.replace(/%C2%B4%7C'/g,%20%22%22);location.href='http://libris.kb.se/index_browse.jsp?start='+encodeURIComponent(s)+'&index=zbti'

NE

javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);s=s.replace(/^null/g,'');s=s.replace(/^itet/g,'nullitet');s=s.replace(/^ifikation/g,'nullifikation');s=s.replace(/^ipara/g,'nullipara');s=s.replace(/^ify$/g,'nullify');if(!s)%7Bvoid(s=prompt('Skriv%20uppslagsordet:',''))%7Dif(s)s=s.replace(/%20$/g,'');location.href='http://www.ne.se.ezproxy.ub.gu.se/s%C3%B6k/?t=uppslagsverk&s=l%C3%A5ng&q='+s
 
NE, engelsk-svensk

javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);s=s.replace(/^null/g,'');s=s.replace(/^itet/g,'nullitet');s=s.replace(/^ifikation/g,'nullifikation');s=s.replace(/^ipara/g,'nullipara');s=s.replace(/^ify$/g,'nullify');if(!s)%7Bvoid(s=prompt('Skriv%20uppslagsordet:',''))%7Dif(s)s=s.replace(/%20$/g,'');location.href='http://www.ne.se.ezproxy.ub.gu.se/ordb%C3%B6cker/#/sok/norstedts-pro-en-sv?q='+s

NE, svensk-svensk

javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);s=s.replace(/^null/g,'');s=s.replace(/^itet/g,'nullitet');s=s.replace(/^ifikation/g,'nullifikation');s=s.replace(/^ipara/g,'nullipara');s=s.replace(/^ify$/g,'nullify');if(!s)%7Bvoid(s=prompt('Skriv%20uppslagsordet:',''))%7Dif(s)s=s.replace(/%20$/g,'');location.href='http://www.ne.se.ezproxy.ub.gu.se/ordb%C3%B6cker/#/sok/ne-ordbok-sv-sv?q='+s

OED

javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);if(!s)%7Bvoid(s=prompt('Skriv%20uppslagsordet:',''))%7Dif(s)location.href='http://www.oed.com.ezproxy.ub.gu.se/search?q='+s

Tysk-engelsk

javascript:s='';function%20gS(w){for(var%20i=0;i<w.length;i++){gS(w.frames[i])};try{s+=w.document.getSelection()}catch(e){try{s+=w.document.selection.createRange().text}catch(e){s+=''}}}gS(top);if(!s){void(s=prompt('Skriv%20uppslagsordet:',''))}if(s)location.href='http://en.pons.eu/translate?q='+escape(s)+'&l=deen&lf=de'

Valutakonvertering

javascript:s='';function%20gS(w)%7Bfor(var%20i=0;i<w.length;i++)%7BgS(w.frames%5Bi%5D)%7D;try%7Bs+=w.document.getSelection()%7Dcatch(e)%7Btry%7Bs+=w.document.selection.createRange().text%7Dcatch(e)%7Bs+=''%7D%7D%7DgS(top);if(!s)%7Bvoid(s=prompt('Ange%20summan:',''))%7Dif(s)s=s.replace(/%5C./g,%22%5C,%22);s=s.replace(/US-dollar/g,%22$%22);s=s.replace(/%5Cu20AC|euro|EUR%20/g,%22e%22);s=s.replace(/%5C243|brittiska%20pund%20sterling/g,%22p%22);if(s.substring(0,1)==%22%24%22%7C%7Cs.substring(0,1)==%22e%22%7C%7Cs.substring(0,1)==%22p%22)Qr=s.substring(0,1);if(s.substring(s.length-1)==%22e%22%7C%7Cs.substring(s.length-1)==%22$%22%7C%7Cs.substring(s.length-1)==%22p%22)Qr=s.substring(s.length-1);if(s.substring(0,1)!==%22%24%22%20&&%20s.substring(0,1)!==%22p%22%20&&%20s.substring(0,1)!==%22e%22%20&&%20s.substring(s.length-1)!==%22e%22%20&&%20s.substring(s.length-1)!==%22$%22%20&&%20s.substring(s.length-1)!==%22p%22)Qr=prompt('Ange%20valutan:','');s=s.replace(/%20/g,%22%22);s=s.replace(/p|\$|e/g,%22%22);Qr=Qr.replace(/pund%7C%5Ep%24/g,%22gbp%22);Qr=Qr.replace(/%5Ed%7C%5C%24%24/g,%22usd%22);Qr=Qr.replace(/euro%7C%5Ee%24/g,%22eur%22);Qr=Qr.toUpperCase();location.href='http://www.xe.com/sv/currencyconverter/convert/?Amount='+s+'&From='+Qr+'&To=SEK'

Wayback

javascript:location.href='http://web.archive.org/web/*/'+document.location.href;

Wayback 2
javascript:s=document.location.href;s=s.replace(/http:%5C/%5C/wayback.archive.org%5C/web%5C/%5C*%5C//g,%22%22);location.href='%20http://web.archive.bibalex.org/web/*/'+s