Bookmarklets


Edit Page
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
issue no. in Redmine
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==){t=prompt("Redmine Issue Number?")};if(t){window.open('http://isg-projects.its.waikato.ac.nz/issues/'+escape(t),'redmine');};
Search LANDesk
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==""){t=prompt("LANDesk Query?")};if(t){window.open('https://landesk.waikato.ac.nz/ServiceDesk.WebAccess.Int/wd/search/search.rails?s='+escape(t),'landesk_pg');}
Incident no. in LANDesk Backdoor
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==""){t=prompt("LANDesk Incident Number?")};if(t){window.open('https://isg-webapps.its.waikato.ac.nz/LandeskViewer/incidents/'+escape(t),'landesk_incident_pg');}
Request no. in LANDesk Backdoor
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==""){t=prompt("LANDesk Request Number?")};if(t){window.open('https://isg-webapps.its.waikato.ac.nz/LandeskViewer/requests/'+escape(t),'landesk_request_pg');}
Change no. in LANDesk Backdoor
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==""){t=prompt("LANDesk Change Number?")};if(t){window.open('https://isg-webapps.its.waikato.ac.nz/LandeskViewer/changes/'+escape(t),'landesk_change_pg');}
username in SAD tool
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==){t=prompt("Username?")};if(t){window.open('https://tools.its.waikato.ac.nz/cgi-bin/admin-tool?ReqUser='+escape(t),'sad_tool_pg');};
username in ISG tool
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==){t=prompt("Username?")};if(t){window.open('https://isg-webapps.its.waikato.ac.nz/pls/web_igate/UAM2_main_pg.select_staff_pg?in_name=&in_username='+escape(t),'select_staff_pg');};
username in Phonebook
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==){t=prompt("Username?")};if(t){window.open('http://phonebook.waikato.ac.nz/cgi-bin/bluesearch?submit=Search&user='+escape(t),'phonebook');};
ident in Phonebook
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==){t=prompt("Ident?")};if(t){window.open('https://isg-webapps.its.waikato.ac.nz/pls/web_igate/phonebook_link_pg.ident?in_id='+escape(t),'phonebook');};
Building/Room on UOW Map
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));if(t==){t=prompt("Room?")};if(t){window.open('http://www.waikato.ac.nz/contacts/map/?'+escape(t),'uowmap');};
Quick search
Change q to match static search params
javascript:
var q='intitle:"index.of" (epub|pdf|txt) -(html htm php asp aspx)',
s='https://www.google.com/search?hl=en&q=',
w=(new Date%9e6).toString(36),
t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection()));
if(t==""){
t=prompt("Search?")
};
if(t){
window.open(s+encodeURIComponent(t+' '+q),w);
};
Increment page
javascript:(function(){ var e,s; IB=1; function isDigit(c) { return ("0" <= c && c <= "9") } L = location.href; LL = L.length; for (e=LL-1; e>=0; --e) if (isDigit(L.charAt(e))) { for(s=e-1; s>=0; --s) if (!isDigit(L.charAt(s))) break; break; } ++s; if (e<0) return; oldNum = L.substring(s,e+1); newNum = "" + (parseInt(oldNum,10) + IB); while (newNum.length < oldNum.length) newNum = "0" + newNum; location.href = L.substring(0,s) + newNum + L.slice(e+1); })();
Comments