Bookmarklets selbst gebaut

Bookmarkleter von Chris Zarate: https://chriszarate.github.io/bookmarkleter/


Alarm: Wo sind wir?

alert(location);
Bookmarklet (Drag&Drop): alarm


Link ans Team

open("mailto:team@example.com"
  + "?subject=Todo"
  + "&body="+location
)
Bookmarklet (Drag&Drop): team-mail


Link mit Betreff ans Team

open("mailto:team@example.com"
  + "?subject=fyi: "
  + encodeURI(document.title)
  + "&body="+encodeURI(location)
)
Bookmarklet (Drag&Drop): team-title-mail


Zentraleinkauf mit Kostenstellen

k = prompt("Kostenstelle/Projekt:", "")
if (k) {
  open("mailto:einkauf@example.com"
    + "?subject=[Kst: "+encodeURI(k)
    +  "] "+encodeURI(document.title)
    + "&body="+encodeURI(location)
  )
}
Bookmarklet (Drag&Drop): einkauf


Login-Hilfe für Partslink24

url = "https://www.partslink24.com/partslink24/user/login.do";
id = "123456";
if(location.href.startsWith(url)) {
  e=document.getElementById("login-id");
  if(e && e.value.length==0) {
    e.value=id;
    txtChanged();
  }
}
Bookmarklet (Drag&Drop): partslink24


(mid@ct.de)